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/RemovePersonalSettings/src/rps.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'plugins/RemovePersonalSettings/src') diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index 5e1913caf6..0900f3ee71 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -31,6 +31,8 @@ Based on work by nullbie struct CMPlugin : public PLUGIN { CMPlugin(); + + int Load() override; } g_plugin; @@ -585,7 +587,7 @@ static INT_PTR RemoveAllService(WPARAM, LPARAM) return 0; } -extern "C" int __declspec(dllexport) Load() +int CMPlugin::Load() { CMenuItem mi(g_plugin); SET_UID(mi, 0x2f9f21df, 0xf33c, 0x4640, 0xb9, 0x63, 0xd3, 0x26, 0x8a, 0xb8, 0xb1, 0xf0); @@ -627,10 +629,3 @@ extern "C" int __declspec(dllexport) Load() return 0; } - -///////////////////////////////////////////////////////////////////////////////////////// - -extern "C" int __declspec(dllexport) Unload(void) -{ - return 0; -} -- cgit v1.2.3