Méthode | Description | |
---|---|---|
SettingsManager ( ) : System |
Class constructor
|
|
getSetting ( string szName ) : Setting |
Get a setting from the config file by a given name
|
|
loadSettings ( ) : void |
Load application settings from file
|
|
saveSettings ( ) : void |
Save application settings to file
|
|
setSetting ( string szName, string szValue ) : void |
Set a setting in the user config file
|
Méthode | Description | |
---|---|---|
createSettingsFile ( ) : void |
Create the folder in %appdata%, and the config file
|
|
setDefaults ( ) : void |
Load in some default settings for first launch
|
public getSetting ( string szName ) : Setting | ||
szName | string | |
Résultat | Setting |
public setSetting ( string szName, string szValue ) : void | ||
szName | string | |
szValue | string | |
Résultat | void |