From 55f3f8ff12e1a7388706b8ccdae139ca946742dc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 2 Mar 2013 19:32:56 +0000 Subject: removed not used headers added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3852 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotesAndReminders/src/main.cpp | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'plugins/NotesAndReminders/src/main.cpp') diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index a099178f7d..4738d1496f 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -19,13 +19,13 @@ extern TREEELEMENT *RemindersList; static PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - "Sticky Notes & Reminders", - PLUGIN_MAKE_VERSION(0,0,5,1), - "Sticky Notes & Reminders Implementation for Miranda NG.", - "Joe Kucera, Lubomir Kolev Ivanov, Georg Fischer", - "jokusoftware@users.sourceforge.net; d00mEr@dir.bg", - "(C) 2003,2005 Joe Kucera, Lubomir Ivanov", - "http://d00mer.freeshell.org/miranda/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, {0x842a6668, 0xf9da, 0x4968, {0xbf, 0xd7, 0xd2, 0xbd, 0x9d, 0xf8, 0x48, 0xee}} // {842A6668-F9DA-4968-BFD7-D2BD9DF848EE} }; @@ -38,7 +38,7 @@ void BringAllNotesToFront(STICKYNOTE *pActive); void CloseNotesList(); void CloseReminderList(); -INT_PTR PluginMenuCommandAddNew(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandAddNew(WPARAM w, LPARAM l) { STICKYNOTE *PSN = NewNote(0,0,0,0,NULL,NULL,TRUE,TRUE,0); if(PSN) @@ -46,44 +46,44 @@ INT_PTR PluginMenuCommandAddNew(WPARAM w,LPARAM l) return 0; } -INT_PTR PluginMenuCommandDeleteAll(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandDeleteAll(WPARAM w, LPARAM l) { if (g_Stickies && MessageBox(NULL, TranslateT("Are you sure you want to delete all notes?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) DeleteNotes(); return 0; } -INT_PTR PluginMenuCommandShowHide(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandShowHide(WPARAM w, LPARAM l) { ShowHideNotes(); return 0; } -INT_PTR PluginMenuCommandViewNotes(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandViewNotes(WPARAM w, LPARAM l) { ListNotes(); return 0; } -INT_PTR PluginMenuCommandAllBringFront(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandAllBringFront(WPARAM w, LPARAM l) { BringAllNotesToFront(NULL); return 0; } -INT_PTR PluginMenuCommandNewReminder(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandNewReminder(WPARAM w, LPARAM l) { NewReminder(); return 0; } -INT_PTR PluginMenuCommandViewReminders(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandViewReminders(WPARAM w, LPARAM l) { ListReminders(); return 0; } -INT_PTR PluginMenuCommandDeleteReminders(WPARAM w,LPARAM l) +INT_PTR PluginMenuCommandDeleteReminders(WPARAM w, LPARAM l) { if (RemindersList && MessageBox(NULL, TranslateT("Are you sure you want to delete all reminders?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) DeleteReminders(); @@ -122,7 +122,7 @@ int OnOptInitialise(WPARAM w, LPARAM L) odp.position = 900002000; odp.hInstance = hinstance; odp.pszTemplate = MAKEINTRESOURCEA(IDD_STNOTEOPTIONS); - odp.ptszTitle = _T(SECTIONNAME); + odp.ptszTitle = SECTIONNAME; odp.ptszGroup = LPGENT("Plugins"); odp.pfnDlgProc = DlgProcOptions; odp.flags = ODPF_TCHAR; @@ -130,7 +130,7 @@ int OnOptInitialise(WPARAM w, LPARAM L) return 0; } -int OnTopToolBarInit(WPARAM w,LPARAM L) +int OnTopToolBarInit(WPARAM w, LPARAM L) { TTBButton ttb = {0}; ttb.cbSize = sizeof(TTBButton); @@ -177,7 +177,7 @@ static void InitServices() CreateServiceFunction(MODULENAME"/OpenTriggeredReminder",OpenTriggeredReminder); } -int OnModulesLoaded(WPARAM wparam,LPARAM lparam) +int OnModulesLoaded(WPARAM wparam, LPARAM lparam) { // register fonts and hotkeys RegisterFontServiceFonts(); @@ -343,7 +343,7 @@ extern "C" __declspec(dllexport) int Load(void) InitServices(); WS_Init(); - hkModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded); + hkModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); InitIcons(); return 0; -- cgit v1.2.3