summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-07 20:25:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-07 20:25:38 +0000
commit920aa970afa086a3a143b39005747210b94f237b (patch)
tree10e5bdc77f6a533772e4509e4a56ba3f7dc46722 /plugins/StatusPlugins/KeepStatus/keepstatus.cpp
parent097c52ad9a2928422084bf76cebee58958341574 (diff)
Trigger plugin's support removed, cause this plugin is dead
git-svn-id: http://svn.miranda-ng.org/main/trunk@4374 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/KeepStatus/keepstatus.cpp')
-rw-r--r--plugins/StatusPlugins/KeepStatus/keepstatus.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
index 72ec8a6c05..d852cd0a0a 100644
--- a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
+++ b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
@@ -98,15 +98,6 @@ static int Exit(WPARAM wParam, LPARAM lParam);
extern int OptionsInit(WPARAM wparam,LPARAM lparam);
extern int InitCommonStatus();
-#define TRIGGERPLUGIN /* remove this to compile without it */
-
-#ifdef TRIGGERPLUGIN
-extern int RegisterAction();
-extern int DeInitAction();
-extern int RegisterTrigger();
-extern int DeInitTrigger();
-#endif
-
TConnectionSettings::TConnectionSettings( PROTOACCOUNT* pa )
{
cbSize = sizeof(PROTOCOLSETTINGEX);
@@ -1294,21 +1285,11 @@ int CSModuleLoaded(WPARAM wParam,LPARAM lParam)
hOptionsHook = HookEvent(ME_OPT_INITIALISE, OptionsInit);
hShutdownHook = HookEvent(ME_SYSTEM_OKTOEXIT, Exit);
hAccChangeHook = HookEvent(ME_PROTO_ACCLISTCHANGED, OnAccChanged);
-#ifdef TRIGGERPLUGIN
- RegisterAction();
- RegisterTrigger();
-#endif
-
return 0;
}
static int Exit(WPARAM wParam, LPARAM lParam)
{
-#ifdef TRIGGERPLUGIN
- DeInitTrigger();
- DeInitAction();
-#endif
-
UnhookEvent(hOptionsHook);
UnhookEvent(hShutdownHook);
UnhookEvent(hAccChangeHook);