SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
UserConfig Class Reference

Class for managing general STK user configuration data. More...

#include <user_config.hpp>

Inheritance diagram for UserConfig:
Inheritance graph
[legend]

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
 

Detailed Description

Class for managing general STK user configuration data.


The documentation for this class was generated from the following files: