summaryrefslogtreecommitdiff
path: root/plugins/ProfileManager
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-28 22:38:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-28 22:39:22 +0300
commitca55ac7905e8ffd1ee979b5b5fe7121fa7a03a5d (patch)
tree2fc218f22e6fb28baa5b5efc02ab652daae97d73 /plugins/ProfileManager
parent9250a0caadc93ec7a92b99deea151ab7a1c403da (diff)
all plugins => CMPlugin virtual functions
Diffstat (limited to 'plugins/ProfileManager')
-rw-r--r--plugins/ProfileManager/src/pmanagerEx.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp
index 31e08541c0..1944dcb8ee 100644
--- a/plugins/ProfileManager/src/pmanagerEx.cpp
+++ b/plugins/ProfileManager/src/pmanagerEx.cpp
@@ -16,6 +16,8 @@ There is no warranty.
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
}
g_plugin;
@@ -79,7 +81,7 @@ static MUUID uids[_countof(iconList)] =
{ 0x5A2EDCCD, 0xB43B, 0x48FA, 0x8A, 0xE8, 0xB5, 0x8B, 0xD7, 0xA5, 0x5A, 0x13 }
};
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
g_plugin.registerIcon(LPGEN("Profile manager"), iconList);
@@ -102,10 +104,3 @@ extern "C" __declspec(dllexport) int Load(void)
}
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport) int Unload(void)
-{
- return 0;
-}