X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkConfigurationFile.h;h=24c94140df9fa64ab1ebcb7126d1907485d7c045;hb=5f49dad37400bf38b313463dd56455ea91086f5f;hp=c871f14b81fe68f7b53febb8e70f4aea830cae93;hpb=d6e2dea1b245ee5de3d7a0e1c9524629b524ee63;p=bbtk.git diff --git a/kernel/src/bbtkConfigurationFile.h b/kernel/src/bbtkConfigurationFile.h index c871f14..24c9414 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 09:32:54 $ - Version: $Revision: 1.4 $ + Date: $Date: 2008/03/26 08:27:19 $ + Version: $Revision: 1.7 $ 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 { //========================================================================== @@ -73,14 +84,16 @@ namespace bbtk void InstallPath (); public: + void GetHelp(int level) const; + inline const std::string& Get_description() const { return mDescription;} - inline const std::string& Get_url() const - { return mUrl;} + // inline const std::string& Get_url() const + // { return mUrl;} 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;} @@ -91,6 +104,8 @@ namespace bbtk inline const std::string& Get_rsc_path() const { return mRsc_path;} + inline const std::string& Get_root_bbs_path() const + { return mBbs_path;} inline const std::vector& Get_bbs_paths() const { return mBbs_paths;} inline const std::vector& Get_package_paths() const