summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/db.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:28:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:28:08 +0000
commit2bb421f6b7b7ded13f6240259e81ab81d47e663b (patch)
treeaad40e7409814c5ad30509b7f810f6fd3e0dce72 /protocols/WhatsApp/src/db.h
parent2b55a49b73ec41e782cd213d24d7ede6c62ade92 (diff)
protocol DB helpers for Wassup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/db.h')
-rw-r--r--protocols/WhatsApp/src/db.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/WhatsApp/src/db.h b/protocols/WhatsApp/src/db.h
index ef2610e523..615d0d8608 100644
--- a/protocols/WhatsApp/src/db.h
+++ b/protocols/WhatsApp/src/db.h
@@ -1,18 +1,3 @@
-// DB macros
-#define getByte( setting, error ) db_get_b( NULL, m_szModuleName, setting, error )
-#define setByte( setting, value ) db_set_b( NULL, m_szModuleName, setting, value )
-#define getWord( setting, error ) db_get_w( NULL, m_szModuleName, setting, error )
-#define setWord( setting, value ) db_set_w( NULL, m_szModuleName, setting, value )
-#define getDword( setting, error ) db_get_dw( NULL, m_szModuleName, setting, error )
-#define setDword( setting, value ) db_set_dw( NULL, m_szModuleName, setting, value )
-#define getString( setting, dest ) db_get_s( NULL, m_szModuleName, setting, dest, DBVT_ASCIIZ )
-#define setString( setting, value ) db_set_s( NULL, m_szModuleName, setting, value )
-#define getTString( setting, dest ) DBGetContactSettingTString( NULL, m_szModuleName, setting, dest )
-#define setTString( setting, value ) DBWriteContactSettingTString( NULL, m_szModuleName, setting, value )
-#define getU8String( setting, dest ) DBGetContactSettingUTF8String( NULL, m_szModuleName, setting, dest )
-#define setU8String( setting, value ) DBWriteContactSettingUTF8String( NULL, m_szModuleName, setting, value )
-#define deleteSetting( setting ) DBDeleteContactSetting( NULL, m_szModuleName, setting )
-
// DB keys
#define WHATSAPP_KEY_ID "ID"
#define WHATSAPP_KEY_LOGIN "Login"