Allolib
1.0
C++ Components For Interactive Multimedia
|
The PersistentConfig class allows easy sotrage of persisitent values. More...
Public Member Functions | |
void | setAppName (std::string appName) |
Set name of app. This determines the file name for the config file. More... | |
void | registerDouble (std::string name, double *value) |
void | registerInt (std::string name, int64_t *value) |
void | registerString (std::string name, std::string *value) |
void | registerParameter (Parameter ¶m) |
void | registerParameter (ParameterInt ¶m) |
void | registerParameter (ParameterString ¶m) |
void | registerParameter (ParameterColor ¶m) |
bool | read () |
read More... | |
void | write () |
The PersistentConfig class allows easy sotrage of persisitent values.
Definition at line 18 of file al_PersistentConfig.hpp.
bool al::PersistentConfig::read | ( | ) |
read
This function sets Parameter values using setNoCalls(), so any callbacks registered are not called. You must manually call processChange() for the parameter to force calling the callbacks.
void al::PersistentConfig::setAppName | ( | std::string | appName | ) |
Set name of app. This determines the file name for the config file.
appName |