summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-05 19:21:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-05 19:21:28 +0300
commita289263bd2d74f89c4ea119149bf31c96d29a6a8 (patch)
treefa28801a4b637983fde8b1c369b4ba09ff291401 /include
parente84083c4ba1f1e68b0bc76939f2d0902d3c03c9e (diff)
getBlob went to the core
Diffstat (limited to 'include')
-rw-r--r--include/m_protoint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 5fc087e6e8..1eea83eaa8 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -107,6 +107,9 @@ public:
__forceinline bool getBool(MCONTACT hContact, const char *name, bool defaultValue = false) {
return db_get_b(hContact, m_szModuleName, name, defaultValue) != 0; }
+ MBinBuffer getBlob(const char *pSetting);
+ MBinBuffer getBlob(MCONTACT hContact, const char *pSetting);
+
__forceinline bool isChatRoom(MCONTACT hContact) { return getBool(hContact, "ChatRoom", false); }
__forceinline int getByte(const char *name, uint8_t defaultValue = 0) {