]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/CDMUtilities.h
crea Bug Not compiling in Windows
[crea.git] / lib / creaDevManagerLib / CDMUtilities.h
index 8ec696733767b7052c1cf099974a0e5644a013f9..4558c18315f407225ef0e71dfbf3f02ff286ed02 100644 (file)
@@ -93,6 +93,15 @@ namespace CDMUtilities
   static std::string TERMINAL = "gnome-terminal";
 #endif
 
+
+//EED 10/07/2013
+//#ifndef _WIN32
+  /**
+   * Build Command
+   */
+  static std::string BUILD_COMMAND = "make";
+//#endif
+
   /**
    * Structure that handles the split method for c++
    * It calls the split method to split a string given certain delimiters.
@@ -166,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.