From a289263bd2d74f89c4ea119149bf31c96d29a6a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 5 Oct 2022 19:21:28 +0300 Subject: getBlob went to the core --- include/m_protoint.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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) { -- cgit v1.2.3