#include <SettingHolder.h>
Inheritance diagram for CSettingsHolder:

Public Member Functions | |
| CSettingsHolder (long SetMessage) | |
| long | GetNumSettings () |
| ISetting * | GetSetting (long SettingIndex) |
| virtual void | CreateSettings (LPCSTR IniSection)=0 |
| void | ReadFromIni () |
| void | WriteToIni (BOOL bOptimizeFileAccess) |
| void | AddSetting (ISetting *pSetting) |
| void | AddSetting (SETTING *pSetting, CSettingGroup *pGroup=NULL) |
| void | DisableOnChange () |
| void | EnableOnChange () |
| void | ClearSettingList (BOOL bDeleteSettings=TRUE, BOOL bWriteSettings=FALSE) |
| int | LoadSettingStructures (SETTING *pSetting, int StartNum, int Num, CSettingGroup *pGroup=NULL) |
| LONG | HandleSettingsMessage (HWND hWnd, UINT message, UINT wParam, LONG lParam, BOOL *bHandled) |
| CSettingGroup * | GetSettingsGroup (LPCSTR szDisplayName, DWORD Flags=0, BOOL IsActiveByDefault=FALSE) |
Protected Member Functions | |
| BOOL | RegisterMe () |
Protected Attributes | |
| vector< ISetting * > | m_Settings |
| long | m_SetMessage |
| BOOL | m_pRegistered |
| string | m_SettingFlagsSection |
|
|
Add a settings to the list. Makes sure there are no duplicates. |
|
|
Disable all OnChange calls if a value of a setting is changed. |
|
|
Enable all OnChange calls |
|
|
Number of settings in the list. |
|
|
Get setting at index SettingsIndex. |
|
||||||||||||||||
|
Get/Create a root group from the settingsmaster. The SettingObject the group belongs to is the SettingHolder itself. |
|
||||||||||||||||||||||||
|
Handles WM_xx_SETVALUE/WM_xx_GETVALUE/WM_xx_CHANGEVALUE window messages. Only if the message offset specified at initialization is not 0. |
|
||||||||||||||||||||
|
Adds an array of SETTING structures to the SettingHolder. Optionally specify a default SettingGroup |
|
|
Reads alls settings of the list from the .ini file. |
|
|
Registers the SettingsHolder to the SettingsMaster. The SettingsMaster receives source/input/format & channel change events and read&writes the proper settings from/to the SettingsHolders. |
|
|
Writes alls settings of the list to the .ini file. |
1.3.4