Changeset 6040 for sandbox_light/src/libraries/core/PathConfig.h
- Timestamp:
- Nov 5, 2009, 10:15:05 PM (15 years ago)
- Location:
- sandbox_light
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
sandbox_light
- Property svn:mergeinfo changed
-
sandbox_light/src/libraries/core/PathConfig.h
r6039 r6040 42 42 The PathConfig class is a singleton used to configure different paths. 43 43 @details 44 The class provides information about the data, config, log, executable ,45 root and modulepath.44 The class provides information about the data, config, log, executable 45 and root path. 46 46 It determines those by the use of platform specific functions. 47 47 @remarks … … 83 83 static const boost::filesystem::path& getLogPath() 84 84 { return getInstance().logPath_; } 85 //! Returns the path to the modules as boost::filesystem::path86 static const boost::filesystem::path& getModulePath()87 { return getInstance().modulePath_; }88 85 89 86 //! Returns the path to the root folder as std::string … … 97 94 //! Returns the path to the log files as std::string 98 95 static std::string getLogPathString(); 99 //! Returns the path to the modules as std::string100 static std::string getModulePathString();101 96 102 97 //! Return trrue for runs in the build directory (not installed) … … 113 108 */ 114 109 void setConfigurablePaths(); 115 //! Returns a list with all modules declared by a *.module file in the module folder.116 std::vector<std::string> getModulePaths();117 110 118 111 //! Path to the parent directory of the ones above if program was installed with relativ paths 119 112 boost::filesystem::path& rootPath_; 120 113 boost::filesystem::path& executablePath_; //!< Path to the executable 121 boost::filesystem::path& modulePath_; //!< Path to the modules122 114 boost::filesystem::path& dataPath_; //!< Path to the data files folder 123 115 boost::filesystem::path& configPath_; //!< Path to the config files folder
Note: See TracChangeset
for help on using the changeset viewer.