From f9119fac2e31abf98b4def0814a8fd75abaef150 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 26 Feb 2014 20:16:22 +0000 Subject: preparing to load mc module git-svn-id: http://svn.miranda-ng.org/main/trunk@8281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_main.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/modules/metacontacts') diff --git a/src/modules/metacontacts/meta_main.cpp b/src/modules/metacontacts/meta_main.cpp index 6c202feac5..e8fc8f1366 100644 --- a/src/modules/metacontacts/meta_main.cpp +++ b/src/modules/metacontacts/meta_main.cpp @@ -49,19 +49,13 @@ HICON LoadIconEx(IconIndex i) return Skin_GetIcon(iconList[i].szName); } -/** Prepare the plugin to stop -* Called by Miranda when it will exit or when the plugin gets deselected -*/ -int UnloadMetacontacts(void) +void UnloadMetacontacts(void) { - // see also meta_services.c, Meta_PreShutdown Meta_CloseHandles(); - return 0; } -/** Initializes the services provided and the link to those needed -* Called when the plugin is loaded into Miranda -*/ +// Initializes the services provided and the link to those needed +// Called when the plugin is loaded into Miranda int LoadMetacontacts(void) { Icon_Register(hInst, META_PROTO, iconList, SIZEOF(iconList), "mc"); @@ -98,7 +92,6 @@ int LoadMetacontacts(void) MessageBox(0, TranslateT("Error - Database corruption.\nPlugin disabled."), TranslateT("MetaContacts"), MB_OK | MB_ICONERROR); db_set_b(0, META_PROTO, "DisabledMessageShown", 1); } - //Meta_HideMetaContacts(TRUE); return 1; } -- cgit v1.2.3