From ca55ac7905e8ffd1ee979b5b5fe7121fa7a03a5d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 May 2018 22:38:35 +0300 Subject: all plugins => CMPlugin virtual functions --- plugins/ProfileManager/src/pmanagerEx.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'plugins/ProfileManager/src') 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(); + + 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; -} -- cgit v1.2.3