SuperTuxKart
|
Class for managing general STK user configuration data. More...
#include <user_config.hpp>
Public Member Functions | |
UserConfig () | |
Create the user config object; does not actually load it, UserConfig::loadConfig needs to be called. | |
bool | loadConfig () |
Load configuration values from file. | |
void | saveConfig () |
Write settings to config file. | |
const irr::core::stringw & | getWarning () |
void | resetWarning () |
void | setWarning (irr::core::stringw &warning) |
Private Attributes | |
std::string | m_filename |
Filename of the user config file. | |
irr::core::stringw | m_warning |
Static Private Attributes | |
static const int | m_current_config_version = 8 |
Class for managing general STK user configuration data.