From 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 20:12:53 +0300 Subject: end of ME_OPT_INITIALISE related zoo in another plugins --- plugins/SMS/src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/SMS/src/main.cpp') diff --git a/plugins/SMS/src/main.cpp b/plugins/SMS/src/main.cpp index 426c714da3..5002b87b3d 100644 --- a/plugins/SMS/src/main.cpp +++ b/plugins/SMS/src/main.cpp @@ -114,6 +114,11 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID) int CMPlugin::Load() { + HookEvent(ME_CLIST_PREBUILDCONTACTMENU, SmsRebuildContactMenu); + HookEvent(ME_DB_EVENT_ADDED, handleNewMessage); + HookEvent(ME_OPT_INITIALISE, OptInitialise); + HookEvent(ME_PROTO_ACK, handleAckSMS); + HookEvent(ME_PROTO_ACCLISTCHANGED, RefreshAccountList); HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded); HookEvent(ME_SYSTEM_PRESHUTDOWN,OnPreShutdown); -- cgit v1.2.3