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/CSList/src/cslist.cpp | 9 +-------- plugins/CSList/src/stdafx.h | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'plugins/CSList/src') 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(); + + int Load() override; }; //====[ LIMITS ]============================================================= -- cgit v1.2.3