From 79fcc6b525a892b755f8a887470110123f9c091d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Apr 2016 11:08:00 +0000 Subject: nasty crutch to compile 64-bit version git-svn-id: http://svn.miranda-ng.org/main/trunk@16636 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_gui.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include') 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: -- cgit v1.2.3