X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FCDMUtilities.h;h=4558c18315f407225ef0e71dfbf3f02ff286ed02;hb=f10df58dfa9c4d8489fe35f57f796bcf37e5f9b4;hp=935ce941635e63e787d60b23f8491c8b25bba9ab;hpb=f3f98131ffd23351c3cd872a0b04aecdc97b7c92;p=crea.git diff --git a/lib/creaDevManagerLib/CDMUtilities.h b/lib/creaDevManagerLib/CDMUtilities.h index 935ce94..4558c18 100644 --- a/lib/creaDevManagerLib/CDMUtilities.h +++ b/lib/creaDevManagerLib/CDMUtilities.h @@ -93,12 +93,14 @@ namespace CDMUtilities static std::string TERMINAL = "gnome-terminal"; #endif -#ifndef _WIN32 + +//EED 10/07/2013 +//#ifndef _WIN32 /** * Build Command */ static std::string BUILD_COMMAND = "make"; -#endif +//#endif /** * Structure that handles the split method for c++ @@ -173,9 +175,10 @@ namespace CDMUtilities * Opens a file with a given command. * @param file Full path of the file to open. * @param command Command to execute the file with. + * @param parameters Parameters to open file. * @return True if there was an error on the execution of the operation. */ - int openFileWithCommand(const std::string& file, const std::string& command); + int openFileWithCommand(const std::string& file, const std::string& command, const std::string& parameters = ""); /** * Opens the BBTK Graphical Editor * @return True if there was an error on the execution of the operation.