diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-09 22:02:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-09 22:02:18 +0000 |
commit | d5d50b471277d5d69f59a8f29bf87201149ce191 (patch) | |
tree | 92d10ad5b0a1116ba08eca98cf025cb07578784e /protocols/MRA/src/MraProto.h | |
parent | 9dd56da9d9ccbce2f1e1539acb5cfcad7650916a (diff) |
applied protocol helpers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.h')
-rw-r--r-- | protocols/MRA/src/MraProto.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/MRA/src/MraProto.h b/protocols/MRA/src/MraProto.h index 0037dcb81c..e47b815c0c 100644 --- a/protocols/MRA/src/MraProto.h +++ b/protocols/MRA/src/MraProto.h @@ -90,21 +90,6 @@ struct CMraProto : public PROTO<CMraProto> __forceinline void mraDelValue(HANDLE Contact, const char *valueName) {
db_unset(Contact, m_szModuleName, valueName); }
- __forceinline DWORD mraGetDword(HANDLE Contact, const char *valueName, DWORD parDefltValue) {
- return db_get_dw(Contact, m_szModuleName, valueName, parDefltValue); }
- __forceinline void mraSetDword(HANDLE Contact, const char *valueName, DWORD parValue) {
- db_set_dw(Contact, m_szModuleName, valueName, parValue); }
-
- __forceinline WORD mraGetWord(HANDLE Contact, const char *valueName, WORD parDefltValue) {
- return db_get_w(Contact, m_szModuleName, valueName, parDefltValue); }
- __forceinline void mraSetWord(HANDLE Contact, const char *valueName, WORD parValue) {
- db_set_w(Contact, m_szModuleName, valueName, parValue); }
-
- __forceinline BYTE mraGetByte(HANDLE Contact, const char *valueName, BYTE parDefltValue) {
- return db_get_b(Contact, m_szModuleName, valueName, parDefltValue); }
- __forceinline void mraSetByte(HANDLE Contact, const char *valueName, BYTE parValue) {
- db_set_b(Contact, m_szModuleName, valueName, parValue); }
-
__forceinline BOOL mraGetStaticStringA(HANDLE Contact, const char *ValueName, char *Ret, size_t RetBuffSize, size_t *pRetBuffSize) {
return DB_GetStaticStringA(Contact, m_szModuleName, ValueName, Ret, RetBuffSize, pRetBuffSize); }
__forceinline BOOL mraGetStaticStringW(HANDLE Contact, const char *ValueName, WCHAR *Ret, size_t RetBuffSize, size_t *pRetBuffSize) {
|