From 754665d1ae053678088144bb833bda76a0d95794 Mon Sep 17 00:00:00 2001 From: Mataes Date: Thu, 17 May 2018 20:57:34 +0300 Subject: KeyboardNotify, ListeningTO, MagneticWindows, MenuItemEx: cmplugin adaptation --- plugins/ListeningTo/src/options.cpp | 32 +++++++++++++++--------------- plugins/ListeningTo/src/players/player.cpp | 4 ++-- plugins/ListeningTo/src/players/wmp.cpp | 4 ++-- plugins/ListeningTo/src/stdafx.h | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) (limited to 'plugins/ListeningTo') diff --git a/plugins/ListeningTo/src/options.cpp b/plugins/ListeningTo/src/options.cpp index 549a3a1ef5..3dc64d76ed 100644 --- a/plugins/ListeningTo/src/options.cpp +++ b/plugins/ListeningTo/src/options.cpp @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2006 Ricardo Pescuma Domenecci This is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "stdafx.h" @@ -192,14 +192,14 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP return TRUE; case WM_NOTIFY: - { - LPNMHDR lpnmhdr = (LPNMHDR)lParam; - if (lpnmhdr->idFrom == 0 && lpnmhdr->code == PSN_APPLY) { - RebuildMenu(); - StartTimer(); - } + { + LPNMHDR lpnmhdr = (LPNMHDR)lParam; + if (lpnmhdr->idFrom == 0 && lpnmhdr->code == PSN_APPLY) { + RebuildMenu(); + StartTimer(); } - break; + } + break; case WM_COMMAND: switch (LOWORD(wParam)) { @@ -262,14 +262,14 @@ static INT_PTR CALLBACK PlayersDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP break; case WM_NOTIFY: - { - LPNMHDR lpnmhdr = (LPNMHDR)lParam; - if (lpnmhdr->idFrom == 0 && lpnmhdr->code == PSN_APPLY) { - EnableDisablePlayers(); - StartTimer(); - } + { + LPNMHDR lpnmhdr = (LPNMHDR)lParam; + if (lpnmhdr->idFrom == 0 && lpnmhdr->code == PSN_APPLY) { + EnableDisablePlayers(); + StartTimer(); } - break; + } + break; } return ret; diff --git a/plugins/ListeningTo/src/players/player.cpp b/plugins/ListeningTo/src/players/player.cpp index 23b10f3a8a..a27d5ee82f 100644 --- a/plugins/ListeningTo/src/players/player.cpp +++ b/plugins/ListeningTo/src/players/player.cpp @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2005-2009 Ricardo Pescuma Domenecci This is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "../stdafx.h" diff --git a/plugins/ListeningTo/src/players/wmp.cpp b/plugins/ListeningTo/src/players/wmp.cpp index 6bc244e742..89f0a3bce1 100644 --- a/plugins/ListeningTo/src/players/wmp.cpp +++ b/plugins/ListeningTo/src/players/wmp.cpp @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2005-2009 Ricardo Pescuma Domenecci This is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "../stdafx.h" diff --git a/plugins/ListeningTo/src/stdafx.h b/plugins/ListeningTo/src/stdafx.h index 905db9e8e9..cd40ca4da2 100644 --- a/plugins/ListeningTo/src/stdafx.h +++ b/plugins/ListeningTo/src/stdafx.h @@ -120,7 +120,7 @@ static bool IsEmpty(const WCHAR *str) void InitServices(); -void ReplaceTemplate(Buffer *out, MCONTACT hContact, wchar_t *templ, wchar_t **vars, int numVars); +void ReplaceTemplate(Buffer *out, MCONTACT hContact, wchar_t *templ, wchar_t **vars, int numVars); wchar_t* VariablesParseInfo(ARGUMENTSINFO *ai); wchar_t* VariablesParseType(ARGUMENTSINFO *ai); -- cgit v1.2.3