From e412759d7e551e3fc4dc4be6e1fae1cd4f308868 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 3 Jul 2012 21:47:03 +0000 Subject: no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch since now all Myranda plugins are binary incompatible with Miranda's git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ZeroNotification/main.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'plugins/ZeroNotification') diff --git a/plugins/ZeroNotification/main.cpp b/plugins/ZeroNotification/main.cpp index 63e6ddf92c..292017d15d 100644 --- a/plugins/ZeroNotification/main.cpp +++ b/plugins/ZeroNotification/main.cpp @@ -46,8 +46,7 @@ PLUGININFOEX pluginInfoEx = { "", COPYRIGHT, "", - UNICODE_AWARE, //not transient - 0, + UNICODE_AWARE, UID }; @@ -125,7 +124,7 @@ static int SetNotify(const long status){ mi.flags |= CMIM_NAME; CallService(MS_CLIST_MODIFYMENUITEM,(WPARAM)noSoundMenu,(LPARAM)&mi); - + return 0; } @@ -148,14 +147,14 @@ static int ProtoAck(WPARAM wParam, LPARAM lParam) SetNotify(status); return 0; - } + } return 0; } static INT_PTR CALLBACK DlgProcNoSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { - DWORD test; + DWORD test; switch (msg) { case WM_INITDIALOG: @@ -203,7 +202,7 @@ static INT_PTR CALLBACK DlgProcNoSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoSound",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOSOUND))); DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoBlink",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOBLINK))); DBWriteContactSettingDword(NULL,PLUGINNAME_SHORT,"NoCLCBlink",MakeCheckBoxTreeFlags(GetDlgItem(hwndDlg,IDC_NOCLCBLINK))); - + test = DBGetContactSettingWord(NULL,"CList","Status",0); SetNotify(Proto_Status2Flag(DBGetContactSettingWord(NULL,"CList","Status",0))); return TRUE; -- cgit v1.2.3