]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/CDMUtilities.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / CDMUtilities.h
index bed8ed9de7192eac91f73bfdc3bc15d3c69b7ece..10509896178dc2cd00e1240313a0b0e612fe9194 100644 (file)
 
 namespace CDMUtilities
 {
+  //path slash
+  #ifdef _WIN32
+    // ------ Windows
+    static std::string SLASH = "\\";
+  #elif __APPLE__
+    // ------ Apple
+    static std::string SLASH = "/";
+  #else
+    static std::string SLASH = "/";
+  #endif
+
   //text editor program
 #ifdef _WIN32
   // ------ Windows
@@ -94,7 +105,7 @@ namespace CDMUtilities
   int openFileWithCommand(const std::string& file, const std::string& command);
   int openBBEditor();
   int openCreaToolsTools();
-  int openTerminal();
+  int openTerminal(const std::string& command = "");
 };
 
 #endif /* CDMUTILITIES_H_ */