From f7e482e4333df76b198b16c7685c2304007fbe79 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Jul 2012 18:28:49 +0000 Subject: dynamic dll checker git-svn-id: http://svn.miranda-ng.org/main/trunk@989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/init.cpp | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/init.cpp b/plugins/UserInfoEx/init.cpp index 0705c153fd..3f1553855f 100644 --- a/plugins/UserInfoEx/init.cpp +++ b/plugins/UserInfoEx/init.cpp @@ -206,18 +206,15 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda * * @return array of interfaces **/ -extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces() -{ - static const MUUID interfaces[] = { - MIID_UIUSERINFOEX, // this is just me - MIID_UIUSERINFO, // replace the default userinfo module - MIID_CONTACTINFO, // indicate, that MS_CONTACT_GETCONTACTINFO service is provided - MIID_REMINDER, // indicate an Reminder of being provided - MIID_SREMAIL, // Send/Receive E-Mail service is provided - MIID_LAST - }; - return interfaces; -} + +extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { + MIID_UIUSERINFOEX, // this is just me + MIID_UIUSERINFO, // replace the default userinfo module + MIID_CONTACTINFO, // indicate, that MS_CONTACT_GETCONTACTINFO service is provided + MIID_REMINDER, // indicate an Reminder of being provided + MIID_SREMAIL, // Send/Receive E-Mail service is provided + MIID_LAST +}; /** * This function is called by Miranda just to make it possible to unload some memory, ... -- cgit v1.2.3