X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkConfigurationFile.h;h=3d2f92abdef5c13da1db0e646cefe6bfdfe6b898;hb=6d2f79e0ff9b1c0b2db0d7f3d164f4f62434f08d;hp=8f15528987461855d36a0008b5c62501a8742e73;hpb=9edc48dd1cb5a2fe6a09d147eed459cb6e9f0fca;p=bbtk.git diff --git a/kernel/src/bbtkConfigurationFile.h b/kernel/src/bbtkConfigurationFile.h index 8f15528..3d2f92a 100644 --- a/kernel/src/bbtkConfigurationFile.h +++ b/kernel/src/bbtkConfigurationFile.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkConfigurationFile.h,v $ Language: C++ - Date: $Date: 2008/02/14 10:47:51 $ - Version: $Revision: 1.5 $ + Date: $Date: 2008/03/10 06:24:12 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -43,6 +43,17 @@ #include + // file separator +#if defined(_WIN32) +#define VALID_FILE_SEPARATOR "\\" +#define INVALID_FILE_SEPARATOR "/" +#else +#define INVALID_FILE_SEPARATOR "\\" +#define VALID_FILE_SEPARATOR "/" +#endif + + + namespace bbtk { //========================================================================== @@ -82,7 +93,7 @@ namespace bbtk inline const std::string& Get_data_path() const { return mData_path;} inline const std::string& Get_file_separator() const - { return mFile_separator;} + { return mFile_separator;} inline const std::string& Get_bin_path() const { return mBin_path;}