summaryrefslogtreecommitdiff
path: root/plugins/Quotes/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/Quotes/src
parent9250a0caadc93ec7a92b99deea151ab7a1c403da (diff)
all plugins => CMPlugin virtual functions
Diffstat (limited to 'plugins/Quotes/src')
-rw-r--r--plugins/Quotes/src/Forex.cpp4
-rw-r--r--plugins/Quotes/src/stdafx.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp
index 4fedf300fe..8e501c3e80 100644
--- a/plugins/Quotes/src/Forex.cpp
+++ b/plugins/Quotes/src/Forex.cpp
@@ -305,7 +305,7 @@ CMPlugin::CMPlugin() :
/////////////////////////////////////////////////////////////////////////////////////////
-EXTERN_C int __declspec(dllexport) Load(void)
+int CMPlugin::Load(void)
{
if (!CModuleInfo::Verify())
return 1;
@@ -329,7 +329,7 @@ EXTERN_C int __declspec(dllexport) Load(void)
/////////////////////////////////////////////////////////////////////////////////////////
-EXTERN_C __declspec(dllexport) int Unload(void)
+int CMPlugin::Unload(void)
{
WaitForWorkingThreads();
diff --git a/plugins/Quotes/src/stdafx.h b/plugins/Quotes/src/stdafx.h
index b8fb295aaa..ad3d73a0cd 100644
--- a/plugins/Quotes/src/stdafx.h
+++ b/plugins/Quotes/src/stdafx.h
@@ -119,4 +119,7 @@ inline tstring quotes_a2t(const char* s)
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};