diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-05-28 20:49:19 +0200 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-05-28 21:00:55 +0200 |
commit | 9250a0caadc93ec7a92b99deea151ab7a1c403da (patch) | |
tree | a891d1bd365e00e192bb703375613caa446ede33 /plugins/NewEventNotify/src/main.cpp | |
parent | 3bfd3b9c9062048fde854b4c45ab62c29624d8f8 (diff) |
Notification plugins - convert to Load/Unload methods of CMPlugin
Diffstat (limited to 'plugins/NewEventNotify/src/main.cpp')
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 08e6141ce4..72bfaddbaa 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -130,7 +130,7 @@ int HookedOptions(WPARAM wParam, LPARAM) /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
HookEvent(ME_SYSTEM_MODULESLOADED, HookedInit);
HookEvent(ME_OPT_INITIALISE, HookedOptions);
@@ -139,12 +139,6 @@ extern "C" __declspec(dllexport) int Load(void) return 0;
}
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport) int Unload(void)
-{
- return 0;
-}
//-------------------------------------
//---Check Window Message function
|