summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer
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_nicer
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_nicer')
-rw-r--r--plugins/Clist_nicer/INCLUDE/commonheaders.h1
-rw-r--r--plugins/Clist_nicer/SRC/init.cpp10
-rw-r--r--plugins/Clist_nicer/skineditor/main.cpp5
3 files changed, 1 insertions, 15 deletions
diff --git a/plugins/Clist_nicer/INCLUDE/commonheaders.h b/plugins/Clist_nicer/INCLUDE/commonheaders.h
index 4f46b9d1d7..2b52d2734d 100644
--- a/plugins/Clist_nicer/INCLUDE/commonheaders.h
+++ b/plugins/Clist_nicer/INCLUDE/commonheaders.h
@@ -205,7 +205,6 @@ extern HINSTANCE g_hInst;
#define MAX_REGS(_A_) (sizeof(_A_)/sizeof(_A_[0]))
-extern struct LIST_INTERFACE li;
typedef int (__cdecl *pfnDrawAvatar)(HDC hdcOrig, HDC hdcMem, RECT *rc, struct ClcContact *contact, int y, struct ClcData *dat, int selected, WORD cstatus, int rowHeight);
#define safe_sizeof(a) (sizeof((a)) / sizeof((a)[0]))
diff --git a/plugins/Clist_nicer/SRC/init.cpp b/plugins/Clist_nicer/SRC/init.cpp
index 35384d9d4f..c5daa292b4 100644
--- a/plugins/Clist_nicer/SRC/init.cpp
+++ b/plugins/Clist_nicer/SRC/init.cpp
@@ -49,8 +49,6 @@ extern int SetHideOffline(WPARAM wParam, LPARAM lParam);
extern DWORD g_gdiplusToken;
extern HIMAGELIST himlExtraImages;
-struct LIST_INTERFACE li;
-struct MM_INTERFACE mmi;
TIME_API tmi;
HMENU BuildGroupPopupMenu( struct ClcGroup* group );
@@ -221,15 +219,9 @@ extern "C" int __declspec(dllexport) CListInitialise(PLUGINLINK * link)
int rc = 0;
DBVARIANT dbv;
int i;
- char szProfilePath[MAX_PATH];
+ char szProfilePath[MAX_PATH];
pluginLink = link;
-#ifdef _DEBUG
- _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
-#endif
-
- mir_getMMI(&mmi);
- mir_getLI(&li);
mir_getTMI(&tmi);
mir_getLP( &pluginInfo );
diff --git a/plugins/Clist_nicer/skineditor/main.cpp b/plugins/Clist_nicer/skineditor/main.cpp
index f0e39de54e..b180316c28 100644
--- a/plugins/Clist_nicer/skineditor/main.cpp
+++ b/plugins/Clist_nicer/skineditor/main.cpp
@@ -42,7 +42,6 @@ PLUGININFOEX pluginInfo = {
HINSTANCE g_hInst = 0;
PLUGINLINK *pluginLink;
-struct MM_INTERFACE memoryManagerInterface;
int hLangpack;
StatusItems_t *StatusItems;
@@ -914,10 +913,6 @@ static HANDLE hSvc_invoke = 0, hSvc_fillby = 0;
static int LoadModule()
{
- memset(&memoryManagerInterface, 0, sizeof(memoryManagerInterface));
- memoryManagerInterface.cbSize = sizeof(memoryManagerInterface);
- CallService(MS_SYSTEM_GET_MMI, 0, (LPARAM) &memoryManagerInterface);
-
hSvc_invoke = CreateServiceFunction(MS_CLNSE_INVOKE, (MIRANDASERVICE)SkinEdit_Invoke);
hSvc_fillby = CreateServiceFunction(MS_CLNSE_FILLBYCURRENTSEL, (MIRANDASERVICE)SkinEdit_FillByCurrentSel);
return 0;