diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-05 19:21:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-05 19:21:28 +0300 |
commit | a289263bd2d74f89c4ea119149bf31c96d29a6a8 (patch) | |
tree | fa28801a4b637983fde8b1c369b4ba09ff291401 /include | |
parent | e84083c4ba1f1e68b0bc76939f2d0902d3c03c9e (diff) |
getBlob went to the core
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protoint.h | 3 |
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) { |