diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-28 22:38:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-28 22:39:22 +0300 |
commit | ca55ac7905e8ffd1ee979b5b5fe7121fa7a03a5d (patch) | |
tree | 2fc218f22e6fb28baa5b5efc02ab652daae97d73 /plugins/RemovePersonalSettings/src/rps.cpp | |
parent | 9250a0caadc93ec7a92b99deea151ab7a1c403da (diff) |
all plugins => CMPlugin virtual functions
Diffstat (limited to 'plugins/RemovePersonalSettings/src/rps.cpp')
-rw-r--r-- | plugins/RemovePersonalSettings/src/rps.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
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>
{
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;
-}
|