Changeset 1658 for code/branches/core3/src/core/ConfigFileManager.cc
- Timestamp:
- Aug 14, 2008, 8:52:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/ConfigFileManager.cc
r1594 r1658 71 71 void reloadConfig() 72 72 { 73 ConfigFileManager::get Singleton()->load();73 ConfigFileManager::getInstance()->load(); 74 74 } 75 75 76 76 void cleanConfig() 77 77 { 78 ConfigFileManager::get Singleton()->clean(false);78 ConfigFileManager::getInstance()->clean(false); 79 79 } 80 80 81 81 void loadSettings(const std::string& filename) 82 82 { 83 ConfigFileManager::get Singleton()->setFile(CFT_Settings, filename, false);83 ConfigFileManager::getInstance()->setFile(CFT_Settings, filename, false); 84 84 } 85 85 86 86 void loadKeybindings(const std::string& filename) 87 87 { 88 ConfigFileManager::get Singleton()->setFile(CFT_Keybindings, filename);88 ConfigFileManager::getInstance()->setFile(CFT_Keybindings, filename); 89 89 } 90 90 … … 459 459 } 460 460 461 ConfigFileManager* ConfigFileManager::get Singleton()461 ConfigFileManager* ConfigFileManager::getInstance() 462 462 { 463 463 static ConfigFileManager instance;
Note: See TracChangeset
for help on using the changeset viewer.