diff options
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index c78ebfe7e7..04803efad4 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -87,6 +87,21 @@ struct CMDBTraits<4> }
};
+template<>
+struct CMDBTraits<8>
+{
+ typedef DWORD DBType;
+ enum { DBTypeId = DBVT_DWORD };
+ static __forceinline DBType Get(PROTO_INTERFACE *pPro, char *szSetting, DBType value)
+ {
+ return pPro->getDword(szSetting, value);
+ }
+ static __forceinline void Set(PROTO_INTERFACE *pPro, char *szSetting, DBType value)
+ {
+ pPro->setDword(szSetting, value);
+ }
+};
+
class CMOptionBase
{
public:
|