From 25221b7d2afb70f82eb3805330fd39a6f6708049 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 23:41:55 +0000 Subject: mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances. all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CSList/cslist.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'plugins/CSList') diff --git a/plugins/CSList/cslist.cpp b/plugins/CSList/cslist.cpp index 5050ec39f5..cc0f0f989b 100644 --- a/plugins/CSList/cslist.cpp +++ b/plugins/CSList/cslist.cpp @@ -42,8 +42,6 @@ #include "strpos.h" #include "legacy.h" -MM_INTERFACE mmi; -LIST_INTERFACE li; SortedList *servicesList; int hLangpack; @@ -78,10 +76,8 @@ extern "C" __declspec( dllexport ) int Load( PLUGINLINK *link ) { // link plugin pluginLink = link; - mir_getMMI(&mmi); - mir_getLI(&li); mir_getLP(&pluginInfoEx); - servicesList = li.List_Create(0, 10); + servicesList = List_Create(0, 10); // support for ComboBoxEx { @@ -123,7 +119,7 @@ extern "C" __declspec( dllexport ) int Unload( void ) HANDLE *hService = (HANDLE *)servicesList->items[i]; DestroyServiceFunction(hService); } - li.List_Destroy(servicesList); + List_Destroy(servicesList); mir_free(servicesList); delete cslist; @@ -403,7 +399,7 @@ void CSList::addProtoStatusMenuItem( char* protoName, void* arg ) mir_snprintf(buf, SIZEOF(buf), "CSList/ShowList/%s", protoName); if (!ServiceExists(buf)) hService = CreateServiceFunctionParam(buf, CSList::showList, (LPARAM)protoName); - li.List_Insert(servicesList, hService, servicesList->realCount); + List_Insert(servicesList, hService, servicesList->realCount); CLISTMENUITEM mi = {0}; mi.cbSize = sizeof(mi); -- cgit v1.2.3