summaryrefslogtreecommitdiff
path: root/plugins/CSList
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
commit25221b7d2afb70f82eb3805330fd39a6f6708049 (patch)
tree6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/CSList
parentef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (diff)
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
Diffstat (limited to 'plugins/CSList')
-rw-r--r--plugins/CSList/cslist.cpp10
1 files changed, 3 insertions, 7 deletions
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);