Changeset 5645 for code/branches/resource2/src/core/Core.h
- Timestamp:
- Aug 13, 2009, 10:50:07 PM (15 years ago)
- Location:
- code/branches/resource2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2
- Property svn:externals
-
old new 1 media_stripped http://svn.orxonox.net/game/data/branches/media_stripped1 data_stripped https://svn.orxonox.net/game/data/branches/media_stripped
-
- Property svn:externals
-
code/branches/resource2/src/core/Core.h
r5641 r5645 57 57 The Core class is a singleton used to configure the program basics. 58 58 @details 59 The class provides information about the media, config and log path.59 The class provides information about the data, config and log path. 60 60 It determines those by the use of platform specific functions. 61 61 @remark … … 91 91 static void resetLanguage(); 92 92 93 static void tsetExternal MediaPath(const std::string& path);93 static void tsetExternalDataPath(const std::string& path); 94 94 //! Returns the path to the data files as boost::filesystem::path 95 static const boost::filesystem::path& get MediaPath();95 static const boost::filesystem::path& getDataPath(); 96 96 //! Returns the path to the external data files as boost::filesystem::path 97 static const boost::filesystem::path& getExternal MediaPath();97 static const boost::filesystem::path& getExternalDataPath(); 98 98 //! Returns the path to the config files as boost::filesystem::path 99 99 static const boost::filesystem::path& getConfigPath(); 100 100 //! Returns the path to the log files as boost::filesystem::path 101 101 static const boost::filesystem::path& getLogPath(); 102 //! Returns the path to the data files as std::string103 102 //! Returns the path to the root folder as boost::filesystem::path 104 103 static const boost::filesystem::path& getRootPath(); 105 static std::string getMediaPathString(); 104 //! Returns the path to the data files as std::string 105 static std::string getDataPathString(); 106 106 //! Returns the path to the external data files as std::string 107 static std::string getExternal MediaPathString();107 static std::string getExternalDataPathString(); 108 108 //! Returns the path to the config files as std::string 109 109 static std::string getConfigPathString();
Note: See TracChangeset
for help on using the changeset viewer.