diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-20 13:36:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-20 13:36:00 +0000 |
commit | 5b378496114ec47ffa27d3d9e7bc2a744d9e0a77 (patch) | |
tree | f7550dadde23f61182af6e542101eb5fedfa2d85 /plugins/CSList/src | |
parent | 0ba80eef50988ca3e88a16839eaf0a840f1cb139 (diff) |
- all xstatus services moved to m_xstatus.h
- old obsoleted services PS_GETXSTATUS & PS_SETXSTATUS removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r-- | plugins/CSList/src/cslist.cpp | 8 | ||||
-rw-r--r-- | plugins/CSList/src/cslist.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index 7c0c4b23b5..9f1a80b810 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -257,8 +257,8 @@ void CSList::setStatus( WORD code, StatusItem* item, char* protoName) int statusToSet = -1;
if (lstrcmpA(pdescr->szProtoName, "ICQ") == 0)
{
- ICQ_CUSTOM_STATUS ics = {0};
- ics.cbSize = sizeof(ICQ_CUSTOM_STATUS);
+ CUSTOM_STATUS ics = {0};
+ ics.cbSize = sizeof(CUSTOM_STATUS);
ics.flags = CSSF_MASK_STATUS | CSSF_MASK_NAME | CSSF_MASK_MESSAGE | CSSF_TCHAR;
if (code == IDC_CANCEL)
@@ -278,13 +278,13 @@ void CSList::setStatus( WORD code, StatusItem* item, char* protoName) ics.status = &statusToSet;
char protoService[64];
- mir_snprintf(protoService, SIZEOF(protoService), "%s%s", protoName, PS_ICQ_SETCUSTOMSTATUSEX);
+ mir_snprintf(protoService, SIZEOF(protoService), "%s%s", protoName, PS_SETCUSTOMSTATUSEX);
CallService(protoService, 0, (LPARAM)&ics);
}
if (lstrcmpA(pdescr->szProtoName, "JABBER") == 0)
{
JABBER_CUSTOM_STATUS ics = {0};
- ics.cbSize = sizeof(ICQ_CUSTOM_STATUS);
+ ics.cbSize = sizeof(CUSTOM_STATUS);
ics.flags = CSSF_MASK_STATUS | CSSF_MASK_NAME | CSSF_MASK_MESSAGE | CSSF_TCHAR;
if (code == IDC_CANCEL)
diff --git a/plugins/CSList/src/cslist.h b/plugins/CSList/src/cslist.h index ec2e533771..fa66a2c116 100644 --- a/plugins/CSList/src/cslist.h +++ b/plugins/CSList/src/cslist.h @@ -69,7 +69,7 @@ #include <m_icolib.h>
#include <m_protocols.h>
#include <m_protosvc.h>
-#include <m_icq.h>
+#include <m_xstatus.h>
#include <m_jabber.h>
#include <m_options.h>
#include <m_hotkeys.h>
|