summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-13 11:08:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-13 11:08:00 +0000
commit79fcc6b525a892b755f8a887470110123f9c091d (patch)
treee1e1edbf84eae39aece86a6e8e352f60b66ae058 /include
parent1b5eef0a02ae4f33c0a9e5dc31e5dc11ff525710 (diff)
nasty crutch to compile 64-bit version
git-svn-id: http://svn.miranda-ng.org/main/trunk@16636 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h15
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: