]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/CDMUtilities.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / CDMUtilities.h
index 02c3b8285d7d852d76d9139fe21a068e9c3c0ee2..5430aea2a9c97d770162aeb1ca398783eccf660c 100644 (file)
@@ -43,15 +43,15 @@ namespace CDMUtilities
   /**
    * Path slash
    */
-  #ifdef _WIN32
-    // ------ Windows
-    static std::string SLASH = "\\";
-  #elif __APPLE__
-    // ------ Apple
-    static std::string SLASH = "/";
-  #else
-    static std::string SLASH = "/";
-  #endif
+#ifdef _WIN32
+  // ------ Windows
+  static std::string SLASH = "\\";
+#elif __APPLE__
+  // ------ Apple
+  static std::string SLASH = "/";
+#else
+  static std::string SLASH = "/";
+#endif
 
   /**
    * Text editor program
@@ -82,16 +82,15 @@ namespace CDMUtilities
   /**
    * Terminal program
    */
-  #ifdef _WIN32
-    // ------ Windows
-    static std::string TERMINAL = "start cmd.exe";
-  #elif __APPLE__
-    // ------ Apple
-    //TODO: implementation for apple
-  #else
-    static std::string TERMINAL = "gnome-terminal";
-  #endif
-
+#ifdef _WIN32
+  // ------ Windows
+  static std::string TERMINAL = "start cmd.exe";
+#elif __APPLE__
+  // ------ Apple
+  //TODO: implementation for apple
+#else
+  static std::string TERMINAL = "gnome-terminal";
+#endif
 
   /**
    * Structure that handles the split method for c++
@@ -171,7 +170,7 @@ namespace CDMUtilities
    */
   bool createEmptyClass(const std::string& name, const std::string& path);
   /**
-   * Creates a string replacing each \ by \\.
+   * Creates a string replacing each \ by double \ .
    * @param line String to stringify.
    * @return line stringified.
    */