summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-05 19:56:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-05 19:56:19 +0300
commit8a1ff32e54b39ceef22df61bda17bbfda94918fc (patch)
tree89acd8621cda6795b42f59c0226e78ebda4f9f36 /plugins/Popup
parenta9a1da437a9388a34c35a62992130480d8e5986c (diff)
fixes #1876 (YAPP renamed to StdPopup, to popup service be always present)
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/avatars.cpp2
-rw-r--r--plugins/Popup/src/main.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Popup/src/avatars.cpp b/plugins/Popup/src/avatars.cpp
index db5e64650f..39144188c1 100644
--- a/plugins/Popup/src/avatars.cpp
+++ b/plugins/Popup/src/avatars.cpp
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
-PopupAvatar *PopupAvatar::create(MCONTACT hContact)
+PopupAvatar* PopupAvatar::create(MCONTACT hContact)
{
if (hContact) {
if (ServiceExists(MS_AV_GETAVATARBITMAP)) {
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index ae4875c9ba..2a84de3e69 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -300,6 +300,10 @@ CMPlugin::CMPlugin() :
PLUGIN<CMPlugin>(MODULENAME, pluginInfoEx)
{}
+/////////////////////////////////////////////////////////////////////////////////////////
+
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_POPUP, MIID_LAST };
+
//===== Load ============================================================================
// Initializes the services provided and the link to those needed
// Called when the plugin is loaded into Miranda