X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaSystem.h;h=85a020badb45a1af215f59b55b7e1e04217ccfcc;hb=557435581eea2031bec7fbfbca8ed81d636b9616;hp=f16ccbcea09d91b0c5a22405f8b5111f2878f449;hpb=88864c47e2015c70e0164ba74cea98a3eef21475;p=crea.git diff --git a/src/creaSystem.h b/src/creaSystem.h index f16ccbc..85a020b 100644 --- a/src/creaSystem.h +++ b/src/creaSystem.h @@ -3,8 +3,8 @@ Program: crea Module: $RCSfile: creaSystem.h,v $ Language: C++ - Date: $Date: 2010/03/22 19:11:47 $ - Version: $Revision: 1.9 $ + Date: $Date: 2010/06/11 05:06:46 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -28,8 +28,6 @@ // We try for Visual 6..???? //#pragma warning( disable : 4786) - - //----------------------------------------------------------------------------- //This is needed when compiling in debug mode #ifdef _MSC_VER @@ -136,9 +134,6 @@ */ //----------------------------------------------------------------------------- - - - //----------------------------------------------------------------------------- // Version #include @@ -160,9 +155,6 @@ namespace crea } //----------------------------------------------------------------------------- - - - //----------------------------------------------------------------------------- /* #ifdef _WIN32 @@ -210,8 +202,6 @@ typedef unsigned int uint32_t; #define UINT32_MAX (4294967295U) #endif - - //----------------------------------------------------------------------------- @@ -224,10 +214,11 @@ namespace crea { /// returns true iff the program has a tty static int HasTTY(); - CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize); - CREA_EXPORT static std::string GetDllAppPath(std::string nomdll); + CREA_EXPORT static int GetAppPath(char *pname, size_t pathsize); + CREA_EXPORT static std::string GetDllAppPath(std::string &nomdll); + CREA_EXPORT static std::string GetDllAppPath(const char *nomdll); CREA_EXPORT static std::string GetExecutablePath(); - + CREA_EXPORT static void createDirectory(const char* directorypath); }; } // namespace crea