From 920aa970afa086a3a143b39005747210b94f237b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Apr 2013 20:25:38 +0000 Subject: 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 --- plugins/StatusPlugins/KeepStatus/keepstatus.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'plugins/StatusPlugins/KeepStatus/keepstatus.cpp') 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); -- cgit v1.2.3