parent
6aff37327a
commit
df6768b579
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
bool Initialize(const char * BaseDirectory, const char * AppName);
|
||||
|
||||
//return the values
|
||||
// Return the values
|
||||
bool LoadBool(SettingID Type);
|
||||
bool LoadBool(SettingID Type, bool & Value);
|
||||
bool LoadBoolIndex(SettingID Type, uint32_t index);
|
||||
|
@ -71,17 +71,17 @@ public:
|
|||
void DeleteSetting(SettingID Type);
|
||||
void DeleteSettingIndex(SettingID Type, uint32_t index);
|
||||
|
||||
//Register Notification of change
|
||||
// Register notification of change
|
||||
void RegisterChangeCB(SettingID Type, void * Data, SettingChangedFunc Func);
|
||||
void UnregisterChangeCB(SettingID Type, void * Data, SettingChangedFunc Func);
|
||||
|
||||
// information about setting
|
||||
// Information about setting
|
||||
SettingType GetSettingType(SettingID Type);
|
||||
bool IndexBasedSetting(SettingID Type);
|
||||
void SettingTypeChanged(SettingType Type);
|
||||
bool IsSettingSet(SettingID Type);
|
||||
|
||||
// static functions for plugins
|
||||
// Static functions for plugins
|
||||
static uint32_t GetSetting(CSettings * _this, SettingID Type);
|
||||
static const char * GetSettingSz(CSettings * _this, SettingID Type, char * Buffer, uint32_t BufferSize);
|
||||
static void SetSetting(CSettings * _this, SettingID ID, uint32_t Value);
|
||||
|
|
Loading…
Reference in New Issue