Abstract interface for persisting view configuration, that can switch between different view configuration profiles.
More...
|
| | CViewConfigSectionProfiles (const CString &strViewName) |
| | CViewConfigSectionProfiles - Constructor.
|
| |
|
virtual void | RemoveCurrentConfig () |
| | Removes the current configuration.
|
| |
| virtual void | GetProfiles (CSimpleArray< CString > &profiles) const |
| | Retrieves the list of currently available configuration profiles.
|
| |
| virtual CString | GetActiveProfile () |
| | Retrieves the currently active profile.
|
| |
| virtual void | SetActiveProfile (const CString &strProfile) |
| | Switches to a new active configuration profile.
|
| |
| virtual void | AddProfile (const CString &strProfile) |
| | Adds a profile to the official list of column configuration profiles.
|
| |
| virtual void | DeleteProfile (const CString &strProfile) |
| | Removes a profile from the official list of column configuration profiles.
|
| |
| | CViewConfigSectionDefault (const CString &strViewName) |
| | CViewConfigSectionDefault - Constructor.
|
| |
| virtual CViewConfigSection & | GetDefaultConfig () |
| | Retrieve the in memory default configuration.
|
| |
| virtual bool | HasDefaultConfig () const |
| | Contains default configuration.
|
| |
| virtual void | ResetConfigDefault () |
| | Resets the current configuration by deleting it and restoring it from the in memory default configuration.
|
| |
| virtual CString | GetSetting (const CString &strName, const CString &strDefval=_T("")) const |
| | Retrieves a setting value for the view.
|
| |
| | CViewConfigSection (const CString &strViewName) |
| | CViewConfigSection - Constructor.
|
| |
|
virtual | ~CViewConfigSection () |
| | CViewConfigSection - Destructor.
|
| |
| virtual bool | GetBoolSetting (const CString &strName, bool bDefval=false) const |
| | Retrieves a bool setting value for the view.
|
| |
| virtual int | GetIntSetting (const CString &strName, int nDefval=0) const |
| | Retrieves an integer setting value for the view.
|
| |
| virtual double | GetFloatSetting (const CString &strName, double nDefval=0.0) const |
| | Retrieves a float setting value for the view.
|
| |
| virtual LOGFONT | GetLogFontSetting (const CString &strName) const |
| | Retrieves a font setting value for the view.
|
| |
| virtual CRect | GetRectSetting (const CString &strName, const CRect &rectDefval=CRect(0, 0, 0, 0)) const |
| | Retrieves a rectangle setting value for the view.
|
| |
| virtual COLORREF | GetColorSetting (const CString &strName, const COLORREF colorDefval=RGB(0, 0, 0)) const |
| | Retrieves a color setting value for the view.
|
| |
| virtual void | GetArraySetting (const CString &strName, CSimpleArray< CString > &values, const CString &strDelimiter=_T(", ")) const |
| | Retrieves a string-array setting value for the view.
|
| |
| virtual void | GetArraySetting (const CString &strName, CSimpleArray< int > &values, const CString &strDelimiter=_T(", ")) const |
| | Retrieves a integer-array setting value for the view.
|
| |
| virtual void | SetSetting (const CString &strName, const CString &strValue) |
| | Updates a setting value for the view.
|
| |
| virtual void | SetBoolSetting (const CString &strName, bool bValue) |
| | Updates the value of a bool setting.
|
| |
| virtual void | SetIntSetting (const CString &strName, int nValue) |
| | Updates the value of an integer setting.
|
| |
| virtual void | SetFloatSetting (const CString &strName, double nValue, int nDecimals=6) |
| | Updates the value of a float setting.
|
| |
| virtual void | SetArraySetting (const CString &strName, const CSimpleArray< CString > &values, const CString &strDelimiter=_T(", ")) |
| | Updates the value of a string-array setting.
|
| |
| virtual void | SetArraySetting (const CString &strName, const CSimpleArray< int > &values, const CString &strDelimiter=_T(", ")) |
| | Updates the value of an integer-array setting.
|
| |
| virtual void | SetLogFontSetting (const CString &strName, const LOGFONT &font) |
| | Updates the value of a font setting.
|
| |
| virtual void | SetRectSetting (const CString &strName, const RECT &rect) |
| | Updates the value of a rectangle setting.
|
| |
| virtual void | SetColorSetting (const CString &strName, COLORREF color) |
| | Updates the value of a color setting.
|
| |
Abstract interface for persisting view configuration, that can switch between different view configuration profiles.