From c6fb861d7159279b6ee4a4dd678d4693ee56bac6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Oct 2012 12:50:40 +0000 Subject: 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 --- plugins/CSList/src/cslist.cpp | 2 +- plugins/CSList/src/cslist.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/CSList/src') 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 -- cgit v1.2.3