diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-27 14:11:18 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-27 14:11:18 +0200 |
commit | 6b91af6235cbd8643c7c63e07ceb23f1b13e8a8f (patch) | |
tree | a3d219c1412c164751029c8fbc1e024f5cef7c1e /include/m_protoint.h | |
parent | 1a6f765baa14c490594bcf255e265e5add1aeec9 (diff) |
implementation of #1308
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r-- | include/m_protoint.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h index f7d9d15968..f32b07983b 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -137,6 +137,16 @@ public: __forceinline wchar_t* getWStringA(MCONTACT hContact, const char *name) {
return db_get_wsa(hContact, m_szModuleName, name); }
+ __forceinline CMStringA getMStringA(const char *name) {
+ return db_get_sm(NULL, m_szModuleName, name); }
+ __forceinline CMStringA getMStringA(MCONTACT hContact, const char *name) {
+ return db_get_sm(hContact, m_szModuleName, name); }
+
+ __forceinline CMStringW getMStringW(const char *name) {
+ return db_get_wsm(NULL, m_szModuleName, name); }
+ __forceinline CMStringW getMStringW(MCONTACT hContact, const char *name) {
+ return db_get_wsm(hContact, m_szModuleName, name); }
+
__forceinline void setByte(const char *name, BYTE value) { db_set_b(NULL, m_szModuleName, name, value); }
__forceinline void setByte(MCONTACT hContact, const char *name, BYTE value) { db_set_b(hContact, m_szModuleName, name, value); }
|