diff options
Diffstat (limited to 'plugins/Cln_skinedit')
-rw-r--r-- | plugins/Cln_skinedit/src/main.cpp | 9 | ||||
-rw-r--r-- | plugins/Cln_skinedit/src/stdafx.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Cln_skinedit/src/main.cpp b/plugins/Cln_skinedit/src/main.cpp index f6b8c85497..8c95c929ff 100644 --- a/plugins/Cln_skinedit/src/main.cpp +++ b/plugins/Cln_skinedit/src/main.cpp @@ -893,16 +893,9 @@ static INT_PTR SkinEdit_Invoke(WPARAM, LPARAM lParam) return (INT_PTR)psd->hwndSkinEdit; } -extern "C" int __declspec(dllexport) Load(void) +int CMPlugin::Load() { CreateServiceFunction(MS_CLNSE_INVOKE, SkinEdit_Invoke); CreateServiceFunction(MS_CLNSE_FILLBYCURRENTSEL, SkinEdit_FillByCurrentSel); return 0; } - -///////////////////////////////////////////////////////////////////////////////////////// - -extern "C" int __declspec(dllexport) Unload(void) -{ - return 0; -} diff --git a/plugins/Cln_skinedit/src/stdafx.h b/plugins/Cln_skinedit/src/stdafx.h index 5f96c2f53a..d64d5cae3a 100644 --- a/plugins/Cln_skinedit/src/stdafx.h +++ b/plugins/Cln_skinedit/src/stdafx.h @@ -40,4 +40,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
};
|