summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src/main.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-05-28 20:49:19 +0200
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-05-28 21:00:55 +0200
commit9250a0caadc93ec7a92b99deea151ab7a1c403da (patch)
treea891d1bd365e00e192bb703375613caa446ede33 /plugins/NotifyAnything/src/main.cpp
parent3bfd3b9c9062048fde854b4c45ab62c29624d8f8 (diff)
Notification plugins - convert to Load/Unload methods of CMPlugin
Diffstat (limited to 'plugins/NotifyAnything/src/main.cpp')
-rw-r--r--plugins/NotifyAnything/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp
index a2fa27f3a9..725772cfa3 100644
--- a/plugins/NotifyAnything/src/main.cpp
+++ b/plugins/NotifyAnything/src/main.cpp
@@ -965,7 +965,7 @@ void stop_threads()
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load()
+int CMPlugin::Load()
{
g_firstrun = true;
@@ -987,7 +987,7 @@ extern "C" int __declspec(dllexport) Load()
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Unload(void)
+int CMPlugin::Unload()
{
stop_threads();
WSACleanup();