summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:27:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:27:24 +0000
commit2b55a49b73ec41e782cd213d24d7ede6c62ade92 (patch)
tree6e3107f892c269678a43f5549faaafb24b6c7da6
parente0541caf997ee59ed3d06485001476fcca429f86 (diff)
unused macroses removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Omegle/src/connection.cpp2
-rw-r--r--protocols/Omegle/src/db.h12
2 files changed, 1 insertions, 13 deletions
diff --git a/protocols/Omegle/src/connection.cpp b/protocols/Omegle/src/connection.cpp
index 03f74ce9b0..36deff4f6a 100644
--- a/protocols/Omegle/src/connection.cpp
+++ b/protocols/Omegle/src/connection.cpp
@@ -55,7 +55,7 @@ void OmegleProto::SignOff(void*)
OnLeaveChat(NULL, NULL);
- deleteSetting( "LogonTS" );
+ delSetting("LogonTS");
ProtoBroadcastAck(0,ACKTYPE_STATUS,ACKRESULT_SUCCESS,(HANDLE)old_status,m_iStatus);
diff --git a/protocols/Omegle/src/db.h b/protocols/Omegle/src/db.h
index 69dfa7e54e..2604b70c43 100644
--- a/protocols/Omegle/src/db.h
+++ b/protocols/Omegle/src/db.h
@@ -23,20 +23,8 @@ 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 settings
#define OMEGLE_KEY_TIMEOUTS_LIMIT "TimeoutsLimit" // [HIDDEN]