summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/db.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:20:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:20:46 +0000
commitb7639142c91c6fa38285fdc6de661a0b36d41fbe (patch)
tree99136618352c2030d72008cb027040869d08770b /protocols/FacebookRM/src/db.h
parentbfad803f0247a7395ed67eb04c190b3dfa511b0c (diff)
protocol DB helpers for Facebook
git-svn-id: http://svn.miranda-ng.org/main/trunk@5316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/db.h')
-rw-r--r--protocols/FacebookRM/src/db.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/FacebookRM/src/db.h b/protocols/FacebookRM/src/db.h
index a5f46e33f8..59c575da46 100644
--- a/protocols/FacebookRM/src/db.h
+++ b/protocols/FacebookRM/src/db.h
@@ -22,21 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-// 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)
-#define setString(setting, value) db_set_s(NULL, m_szModuleName, setting, value)
-#define getTString(setting, dest) db_get_ts(NULL, m_szModuleName, setting, dest)
-#define setTString(setting, value) db_set_ts(NULL, m_szModuleName, setting, value)
-#define getU8String(setting, dest) db_get_utf(NULL, m_szModuleName, setting, dest)
-#define setU8String(setting, value) db_set_utf(NULL, m_szModuleName, setting, value)
-#define deleteSetting(setting) db_unset(NULL, m_szModuleName, setting)
-
// DB keys
#define FACEBOOK_KEY_LOGIN "Email"
#define FACEBOOK_KEY_ID "ID"