diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
commit | 25221b7d2afb70f82eb3805330fd39a6f6708049 (patch) | |
tree | 6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/Clist_modern | |
parent | ef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (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_modern')
-rw-r--r-- | plugins/Clist_modern/hdr/modern_commonprototypes.h | 3 | ||||
-rw-r--r-- | plugins/Clist_modern/init.cpp | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/plugins/Clist_modern/hdr/modern_commonprototypes.h b/plugins/Clist_modern/hdr/modern_commonprototypes.h index ad79a497ed..d1209100e0 100644 --- a/plugins/Clist_modern/hdr/modern_commonprototypes.h +++ b/plugins/Clist_modern/hdr/modern_commonprototypes.h @@ -20,9 +20,6 @@ extern PLUGININFOEX pluginInfo;
extern CLIST_INTERFACE * pcli;
extern CLIST_INTERFACE corecli;
-extern struct UTF8_INTERFACE utfi;
-extern struct LIST_INTERFACE li;
-extern struct MM_INTERFACE mmi;
//Global variables
extern int ON_SETALLEXTRAICON_CYCLE;
diff --git a/plugins/Clist_modern/init.cpp b/plugins/Clist_modern/init.cpp index 1587656eb8..92d0d1dcfd 100644 --- a/plugins/Clist_modern/init.cpp +++ b/plugins/Clist_modern/init.cpp @@ -40,10 +40,7 @@ CLIST_INTERFACE corecli={0}; CLUIDATA g_CluiData={0};
int hLangpack;
-MM_INTERFACE mmi;
-LIST_INTERFACE li;
-UTF8_INTERFACE utfi;
-TIME_API tmi;
+TIME_API tmi;
pfnTryEnterCriticalSection fnTryEnterCriticalSection;
@@ -113,10 +110,6 @@ PLUGININTERFACE int CListInitialise(PLUGINLINK * link) g_dwMainThreadID = GetCurrentThreadId();
DuplicateHandle(GetCurrentProcess(),GetCurrentThread(),GetCurrentProcess(),&g_hMainThread,0,FALSE,DUPLICATE_SAME_ACCESS);
-
- mir_getMMI(&mmi);
- mir_getUTFI(&utfi);
- mir_getLI(&li);
mir_getTMI(&tmi);
mir_getLP( &pluginInfo );
@@ -132,7 +125,7 @@ PLUGININTERFACE int CListInitialise(PLUGINLINK * link) CHECKRES ( ToolbarLoadModule() );
TRACE( "CListInitialise Modern Contact List ... Done\r\n" );
-
+
return S_OK;
}
|