summaryrefslogtreecommitdiff
path: root/api/db.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-05 04:05:49 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-05 04:05:49 +0300
commit3802b40a1b5b6341e4c330d1b37135f5d0dc0933 (patch)
tree29501bb02899dcbc2363182ce3e49af4f8461af8 /api/db.h
parent42c3b355be96c5a21ded27dbc25ee0d6a4f7668f (diff)
modified: ../../api/db.h
modified: main.cpp
Diffstat (limited to 'api/db.h')
-rw-r--r--api/db.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/db.h b/api/db.h
index 24dd4a1..337f8bb 100644
--- a/api/db.h
+++ b/api/db.h
@@ -10,4 +10,12 @@ struct DATA
char* szModule; //database nodue (used when reading info)
char* szSetting; //setting name
};
+
+#define DB_WRITE_SETTING "Db/WriteSetting"
+#define DB_GET_SETTING "Db/GetSetting"
+#define DB_DELETE_SETTING "Db/DeleteSetting"
+#define dbGetSetting(a, b) CallService(DB_GET_SETTING, a, b)
+#define dbSetSetting(a, b) CallService(DB_WRITE_SETTING, a, b)
+#define dbDeleteSetting(a, b) CallService(DB_DELETE_SETTING, a, b)
+
#endif