diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-05 04:05:49 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-05 04:05:49 +0300 |
commit | 3802b40a1b5b6341e4c330d1b37135f5d0dc0933 (patch) | |
tree | 29501bb02899dcbc2363182ce3e49af4f8461af8 /api/db.h | |
parent | 42c3b355be96c5a21ded27dbc25ee0d6a4f7668f (diff) |
modified: ../../api/db.h
modified: main.cpp
Diffstat (limited to 'api/db.h')
-rw-r--r-- | api/db.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |