X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FCDMUtilities.h;h=5430aea2a9c97d770162aeb1ca398783eccf660c;hb=157fdd70097efc81cb9bcd3a3b19392b8a144655;hp=99dd04c4a8e034a13f6427cbb9c74eefdb59edc7;hpb=14a7db3b732ca184a3cd336d7561d8faa232d658;p=crea.git diff --git a/lib/creaDevManagerLib/CDMUtilities.h b/lib/creaDevManagerLib/CDMUtilities.h index 99dd04c..5430aea 100644 --- a/lib/creaDevManagerLib/CDMUtilities.h +++ b/lib/creaDevManagerLib/CDMUtilities.h @@ -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++