Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2007, 5:49:03 AM (16 years ago)
Author:
landauf
Message:

hopefully replaced all static pre-main variables with more secure wrapper functions. and now i'll sleep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/ConfigValueContainer.h

    r682 r698  
    8686            ConfigValueContainer(const std::string& classname, const std::string& varname, Ogre::ColourValue defvalue);
    8787
     88            static std::list<std::string>& getConfigFileLines();
     89            static bool finishedReadingConfigFile(bool finished = false);
    8890            void setConfigFileEntyToDefault();
    8991            void searchConfigFileLine();
     
    143145
    144146            std::list<std::string>::iterator configFileLine_;   //!< An iterator, pointing to the entry of the variable in the config-file
    145             static std::list<std::string>* configFileLines_s;   //!< A list, containing all entrys in the config-file
    146             static bool readConfigFile_s;                       //!< True if the config-file is read and stored in the list
    147147
    148148            enum VariableType
Note: See TracChangeset for help on using the changeset viewer.