summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r--plugins/UserInfoEx/init.cpp21
1 files changed, 9 insertions, 12 deletions
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, ...