|
Public Member Functions |
| | ~Settings () |
| | Destructor.
|
| void | setIntItem (const char *name, int val) |
| | Add or change a setting item.
|
| void | setDoubleItem (const char *name, double val) |
| void | setStringItem (const char *name, char *val) |
| int | getIntValue (const char *name_setting) |
| | Get the integer value of an item.
|
| double | getDoubleValue (const char *name_setting) |
| | Get the value of an item as a double.
|
| char * | getStringValue (const char *name_setting) |
| | Get the value of an item as a string.
|
| void | readXMLSettingsFile (const char *config_file) |
| | Load a settings file and create items.
|
| void | WriteXMLSettingsFile (const char *config_file) |
| | Write in a settings file.
|
| void | showConsole (void) |
| | Show all current settings on the console (useful for debug).
|
Friends |
| void | initIrrsimple (void) |
| | init all - first function to call before calling the others
|