diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-07 12:50:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-07 12:50:40 +0000 |
commit | c6fb861d7159279b6ee4a4dd678d4693ee56bac6 (patch) | |
tree | df911e6eaf7bd944081aae96f5df9c2ef84c2476 /plugins/CSList/src | |
parent | 95da57c8e9cf894adf3afae124a29d292b085c5e (diff) |
death of old nasty clutch with MS_PROTO_ENUMPROTOCOLS & PROTOACCOUNT::type
git-svn-id: http://svn.miranda-ng.org/main/trunk@1799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r-- | plugins/CSList/src/cslist.cpp | 2 | ||||
-rw-r--r-- | plugins/CSList/src/cslist.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index f4ff862e9c..b8c4175b9b 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -361,7 +361,7 @@ void CSList::ForAllProtocols( pForAllProtosFunc pFunc, void* arg ) {
int protoCount;
PROTOACCOUNT** pdesc;
- CallService( MS_PSEUDO_PROTO_PROTOACCSENUM, ( WPARAM )&protoCount, ( LPARAM )&pdesc );
+ ProtoEnumAccounts(&protoCount, &pdesc);
for ( int i = 0; i < protoCount; i++ )
{
diff --git a/plugins/CSList/src/cslist.h b/plugins/CSList/src/cslist.h index 7a4f0f8e75..c38859fdd9 100644 --- a/plugins/CSList/src/cslist.h +++ b/plugins/CSList/src/cslist.h @@ -93,10 +93,6 @@ #define XSTATUS_COUNT_EXTENDED 37
#define MOODS_COUNT 84
-// ====[ SERVICES ]===========================================================
-
-#define MS_PSEUDO_PROTO_PROTOACCSENUM ( CSList::bAccountsSupported ? MS_PROTO_ENUMACCOUNTS : MS_PROTO_ENUMPROTOCOLS )
-
// ====[ DEFAULT DB VALUES ]==================================================
#define DEFAULT_ICQ_XSTATUS_ENABLED 1
|