diff options
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r-- | include/newpluginapi.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index 85d0b94007..fc1344030c 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -238,6 +238,15 @@ public: return db_get_ws(hContact, m_szModuleName, name, result);
}
+ __forceinline CMStringA getMStringA(const char *name)
+ {
+ return db_get_sm(0, m_szModuleName, name);
+ }
+ __forceinline CMStringA getMStringA(MCONTACT hContact, const char *name)
+ {
+ return db_get_sm(hContact, m_szModuleName, name);
+ }
+
__forceinline char* getStringA(const char *name)
{
return db_get_sa(0, m_szModuleName, name);
@@ -256,6 +265,15 @@ public: return db_get_wsa(hContact, m_szModuleName, name);
}
+ __forceinline CMStringW getMStringW(const char *name)
+ {
+ return db_get_wsm(0, 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(0, m_szModuleName, name, value);
|