Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 8:12:20 PM (16 years ago)
Author:
rgrieder
Message:
  • renamed InputHandler to KeyBinder
  • added feature to detect a key in input part
  • added def_keybindings.ini and removed keybindings.ini
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/ConfigFileManager.cc

    r1056 r1413  
    336336
    337337        COUT(4) << "Saved config file \"" << this->filename_ << "\"." << std::endl;
     338    }
     339
     340    void ConfigFile::save(const std::string& filename)
     341    {
     342        std::string temp = this->filename_;
     343        this->filename_ = filename;
     344        this->save();
     345        this->filename_ = temp;
    338346    }
    339347
     
    473481    }
    474482
     483    void ConfigFileManager::save(ConfigFileType type, const std::string& filename)
     484    {
     485        this->getFile(type)->save(filename);
     486    }
     487
    475488    void ConfigFileManager::clean(ConfigFileType type, bool bCleanComments)
    476489    {
Note: See TracChangeset for help on using the changeset viewer.