summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_std.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-12 18:34:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-12 18:34:10 +0000
commit627687a2d798a8fa4ecbe4578c75d93bf97f6da5 (patch)
treeee3aa1c8cd6352c935ae548951ad0467d0bc57f3 /protocols/JabberG/src/jabber_std.cpp
parent94299a59b85ed18ffcaadd7c857bea64fcc2864a (diff)
- fix for Jabber popup menu;
- all calls of MS_CLIST_GETCONTACTDISPLAYNAME are replaced with direct calls of CLIST_INTERFACE; - old unneeded function removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4434 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_std.cpp')
-rw-r--r--protocols/JabberG/src/jabber_std.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/protocols/JabberG/src/jabber_std.cpp b/protocols/JabberG/src/jabber_std.cpp
index 373c0681f7..0c1a6625e1 100644
--- a/protocols/JabberG/src/jabber_std.cpp
+++ b/protocols/JabberG/src/jabber_std.cpp
@@ -70,22 +70,12 @@ void CJabberProto::JDeleteSetting(HANDLE hContact, const char* valueName)
{
db_unset(hContact, m_szModuleName, valueName);
}
-/*
-DWORD CJabberProto::JGetByte(const char* valueName, int parDefltValue)
-{
- return db_get_b(NULL, m_szModuleName, valueName, parDefltValue);
-}
-*/
+
DWORD CJabberProto::JGetByte(HANDLE hContact, const char* valueName, int parDefltValue)
{
return db_get_b(hContact, m_szModuleName, valueName, parDefltValue);
}
-char* __stdcall JGetContactName(HANDLE hContact)
-{
- return (char*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, WPARAM(hContact), 0);
-}
-
DWORD CJabberProto::JGetDword(HANDLE hContact, const char* valueName, DWORD parDefltValue)
{
return db_get_dw(hContact, m_szModuleName, valueName, parDefltValue);