summaryrefslogtreecommitdiff
path: root/plugins/CSList/src
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/CSList/src
parent9250a0caadc93ec7a92b99deea151ab7a1c403da (diff)
all plugins => CMPlugin virtual functions
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r--plugins/CSList/src/cslist.cpp9
-rw-r--r--plugins/CSList/src/stdafx.h2
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index 25f0f84cff..d469929aea 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -96,7 +96,7 @@ static int OnPreshutdown(WPARAM, LPARAM)
return 0;
}
-extern "C" __declspec(dllexport) int Load()
+int CMPlugin::Load()
{
// support for ComboBoxEx
INITCOMMONCONTROLSEX icc;
@@ -133,13 +133,6 @@ extern "C" __declspec(dllexport) int Load()
return 0;
}
-//====[ UNLOADER ]===========================================================
-
-extern "C" __declspec(dllexport) int Unload()
-{
- return 0;
-}
-
//====[ FUN ]================================================================
void RegisterHotkeys(char buf[200], wchar_t* accName, int Number)
diff --git a/plugins/CSList/src/stdafx.h b/plugins/CSList/src/stdafx.h
index c78a18e600..e651bc45b0 100644
--- a/plugins/CSList/src/stdafx.h
+++ b/plugins/CSList/src/stdafx.h
@@ -60,6 +60,8 @@ Offers List of your Custom Statuses.
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
};
//====[ LIMITS ]=============================================================