summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw
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/Clist_mw
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/Clist_mw')
-rw-r--r--plugins/Clist_mw/commonheaders.h2
-rw-r--r--plugins/Clist_mw/init.cpp11
2 files changed, 1 insertions, 12 deletions
diff --git a/plugins/Clist_mw/commonheaders.h b/plugins/Clist_mw/commonheaders.h
index e8333401b2..8052fbbcfb 100644
--- a/plugins/Clist_mw/commonheaders.h
+++ b/plugins/Clist_mw/commonheaders.h
@@ -84,8 +84,6 @@ extern HINSTANCE g_hInst;
*/
-extern struct LIST_INTERFACE li;
-
#ifndef CS_DROPSHADOW
#define CS_DROPSHADOW 0x00020000
#endif
diff --git a/plugins/Clist_mw/init.cpp b/plugins/Clist_mw/init.cpp
index d5167fffd5..8664014c83 100644
--- a/plugins/Clist_mw/init.cpp
+++ b/plugins/Clist_mw/init.cpp
@@ -28,8 +28,6 @@ PLUGINLINK * pluginLink;
CLIST_INTERFACE* pcli = NULL;
int hLangpack;
-struct LIST_INTERFACE li;
-struct MM_INTERFACE mmi;
static HANDLE hCListShutdown = 0;
HMENU BuildGroupPopupMenu( struct ClcGroup* group );
@@ -165,19 +163,12 @@ extern "C" int __declspec(dllexport) CListInitialise(PLUGINLINK * link)
{
int rc = 0;
pluginLink = link;
- #ifdef _DEBUG
- _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
- #endif
// get the internal malloc/free()
__try {
OutputDebugStringA("CListInitialise ClistMW\r\n");
-
- mir_getMMI( &mmi );
- mir_getLP( &pluginInfo );
- mir_getLI( &li );
-
+ mir_getLP( &pluginInfo );
pcli = ( CLIST_INTERFACE* )CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)g_hInst);
if ( (INT_PTR)pcli == CALLSERVICE_NOTFOUND ) {
LBL_Error: