diff options
Diffstat (limited to 'plugins/FTPFileYM/src/mir_db.h')
-rw-r--r-- | plugins/FTPFileYM/src/mir_db.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/plugins/FTPFileYM/src/mir_db.h b/plugins/FTPFileYM/src/mir_db.h index bc92bd1e15..7293c145ff 100644 --- a/plugins/FTPFileYM/src/mir_db.h +++ b/plugins/FTPFileYM/src/mir_db.h @@ -20,19 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
-class DB
+namespace DB
{
-public:
- static int setByteF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
- static int setWordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
- static int setDwordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
+ int setByteF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
+ int setWordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
+ int setDwordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iValue);
- static int setAStringF(MCONTACT hContact, char *szModule, char *szSetting, int id, char *szValue);
- static int setStringF(MCONTACT hContact, char *szModule, char *szSetting, int id, wchar_t *stzValue);
+ int setAStringF(MCONTACT hContact, char *szModule, char *szSetting, int id, char *szValue);
+ int setStringF(MCONTACT hContact, char *szModule, char *szSetting, int id, wchar_t *stzValue);
- static int getByteF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
- static int getWordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
- static int getDwordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
+ int getByteF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
+ int getWordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
+ int getDwordF(MCONTACT hContact, char *szModule, char *szSetting, int id, int iErrorValue = -1);
- static int deleteSettingF(MCONTACT hContact, char *szModule, char *szSetting, int id);
+ int deleteSettingF(MCONTACT hContact, char *szModule, char *szSetting, int id);
};
|