Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 17, 2008, 11:49:08 PM (16 years ago)
Author:
rgrieder
Message:

changed return type of ConfigFileManager::getInstance() to ConfigFileManager& (from pointer before).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/ConfigFileManager.h

    r1784 r1795  
    4444    {
    4545        CFT_Settings,
    46         CFT_Keybindings
     46        CFT_Keybindings,
     47        CFT_JoyStickCalibration,
     48        CFT_KeyNames
    4749    };
    4850
     
    256258    {
    257259        public:
    258             static ConfigFileManager* getInstance();
     260            static ConfigFileManager& getInstance();
    259261
    260262            void setFile(ConfigFileType type, const std::string& filename, bool bCreateIfNotExisting = true);
Note: See TracChangeset for help on using the changeset viewer.