diff options
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r-- | include/m_protoint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h index f4dbf2473a..55ff3a5949 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -162,6 +162,11 @@ public: __forceinline CMStringA getMStringA(MCONTACT hContact, const char *name, const char *szValue = nullptr) {
return db_get_sm(hContact, m_szModuleName, name, szValue); }
+ __forceinline CMStringA getMStringU(const char *name, const char *szValue = nullptr) {
+ return db_get_usm(0, m_szModuleName, name, szValue); }
+ __forceinline CMStringA getMStringU(MCONTACT hContact, const char *name, const char *szValue = nullptr) {
+ return db_get_usm(hContact, m_szModuleName, name, szValue); }
+
__forceinline CMStringW getMStringW(const char *name, const wchar_t *szValue = nullptr) {
return db_get_wsm(0, m_szModuleName, name, szValue); }
__forceinline CMStringW getMStringW(MCONTACT hContact, const char *name, const wchar_t *szValue = nullptr) {
|