From 1979fd80424d16b2e489f9b57d01d9c7811d25a2 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Mon, 2 Jan 2023 21:10:29 +0300 Subject: Update copyrights --- plugins/StartPosition/src/main.cpp | 2 +- plugins/StartPosition/src/options.h | 186 +++++++++++++++--------------- plugins/StartPosition/src/startposition.h | 68 +++++------ plugins/StartPosition/src/stdafx.cxx | 2 +- plugins/StartPosition/src/stdafx.h | 2 +- plugins/StartPosition/src/version.h | 2 +- 6 files changed, 131 insertions(+), 131 deletions(-) (limited to 'plugins/StartPosition/src') diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp index f6a3eddb6b..d9c5014c36 100644 --- a/plugins/StartPosition/src/main.cpp +++ b/plugins/StartPosition/src/main.cpp @@ -5,7 +5,7 @@ Copyright (C) 2005-2008 Felipe Brahm - souFrag ICQ#50566818 http://www.soufrag.cl -Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/plugins/StartPosition/src/options.h b/plugins/StartPosition/src/options.h index c8b85af8fe..e9311851df 100644 --- a/plugins/StartPosition/src/options.h +++ b/plugins/StartPosition/src/options.h @@ -1,93 +1,93 @@ -/* -Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "stdafx.h" - -enum ClistAlign : uint8_t -{ - left, - right -}; - -enum ClistState : uint8_t -{ - hidden, - minimized, - normal -}; - -struct ClistOptions -{ - CMOption isDocked; - CMOption state; - - CMOption x; - CMOption y; - CMOption width; - CMOption height; - - ClistOptions() : - isDocked(CLIST_MODULE_NAME, "Docked", 0), - state(CLIST_MODULE_NAME, "State", ClistState::normal), - x(CLIST_MODULE_NAME, "x", 0), - y(CLIST_MODULE_NAME, "y", 0), - width(CLIST_MODULE_NAME, "Width", 150), - height(CLIST_MODULE_NAME, "Height", 350) - { } -}; - -struct StartPositionOptions -{ - CMOption setTopPosition; - CMOption setBottomPosition; - CMOption setSidePosition; - CMOption clistAlign; - CMOption setClistWidth; - CMOption setClistStartState; - CMOption clistState; - - CMOption pixelsFromTop; - CMOption pixelsFromBottom; - CMOption pixelsFromSide; - CMOption clistWidth; - - StartPositionOptions(); -}; - -class COptionsDlg : public CDlgBase -{ - CCtrlCheck chkPositionTop, chkPositionBottom, chkPositionSide, chkFromLeft, chkFromRight, chkWidth; - CCtrlEdit edtPositionTop, edtPositionBottom, edtPositionSide, edtWidth; - CCtrlCheck chkStartState, chkStartHidden, chkStartNormal; - -public: - COptionsDlg(); - - bool OnInitDialog() override; - bool OnApply() override; - -private: - void removeOldSettings(); - - void onCheck_PositionTop(CCtrlCheck*); - void onCheck_PositionBottom(CCtrlCheck*); - void onCheck_PositionSide(CCtrlCheck*); - void onCheck_Width(CCtrlCheck*); - void onCheck_StartState(CCtrlCheck*); -}; +/* +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "stdafx.h" + +enum ClistAlign : uint8_t +{ + left, + right +}; + +enum ClistState : uint8_t +{ + hidden, + minimized, + normal +}; + +struct ClistOptions +{ + CMOption isDocked; + CMOption state; + + CMOption x; + CMOption y; + CMOption width; + CMOption height; + + ClistOptions() : + isDocked(CLIST_MODULE_NAME, "Docked", 0), + state(CLIST_MODULE_NAME, "State", ClistState::normal), + x(CLIST_MODULE_NAME, "x", 0), + y(CLIST_MODULE_NAME, "y", 0), + width(CLIST_MODULE_NAME, "Width", 150), + height(CLIST_MODULE_NAME, "Height", 350) + { } +}; + +struct StartPositionOptions +{ + CMOption setTopPosition; + CMOption setBottomPosition; + CMOption setSidePosition; + CMOption clistAlign; + CMOption setClistWidth; + CMOption setClistStartState; + CMOption clistState; + + CMOption pixelsFromTop; + CMOption pixelsFromBottom; + CMOption pixelsFromSide; + CMOption clistWidth; + + StartPositionOptions(); +}; + +class COptionsDlg : public CDlgBase +{ + CCtrlCheck chkPositionTop, chkPositionBottom, chkPositionSide, chkFromLeft, chkFromRight, chkWidth; + CCtrlEdit edtPositionTop, edtPositionBottom, edtPositionSide, edtWidth; + CCtrlCheck chkStartState, chkStartHidden, chkStartNormal; + +public: + COptionsDlg(); + + bool OnInitDialog() override; + bool OnApply() override; + +private: + void removeOldSettings(); + + void onCheck_PositionTop(CCtrlCheck*); + void onCheck_PositionBottom(CCtrlCheck*); + void onCheck_PositionSide(CCtrlCheck*); + void onCheck_Width(CCtrlCheck*); + void onCheck_StartState(CCtrlCheck*); +}; diff --git a/plugins/StartPosition/src/startposition.h b/plugins/StartPosition/src/startposition.h index 09e652aa5c..75c159e972 100644 --- a/plugins/StartPosition/src/startposition.h +++ b/plugins/StartPosition/src/startposition.h @@ -1,34 +1,34 @@ -/* -Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "stdafx.h" - -struct CMPlugin : public PLUGIN -{ - CMPlugin(); - - int Load() override; - - void Init(); - - int __cdecl OnOptionsInit(WPARAM, LPARAM); - void positionClist(); - - StartPositionOptions spOptions; -}; +/* +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "stdafx.h" + +struct CMPlugin : public PLUGIN +{ + CMPlugin(); + + int Load() override; + + void Init(); + + int __cdecl OnOptionsInit(WPARAM, LPARAM); + void positionClist(); + + StartPositionOptions spOptions; +}; diff --git a/plugins/StartPosition/src/stdafx.cxx b/plugins/StartPosition/src/stdafx.cxx index 564f422ca2..8c570f6949 100644 --- a/plugins/StartPosition/src/stdafx.cxx +++ b/plugins/StartPosition/src/stdafx.cxx @@ -1,5 +1,5 @@ /* -Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/plugins/StartPosition/src/stdafx.h b/plugins/StartPosition/src/stdafx.h index 5c7e573b7f..6dbc8d5f9a 100644 --- a/plugins/StartPosition/src/stdafx.h +++ b/plugins/StartPosition/src/stdafx.h @@ -5,7 +5,7 @@ Copyright (C) 2005-2008 Felipe Brahm - souFrag ICQ#50566818 http://www.soufrag.cl -Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org) +Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/plugins/StartPosition/src/version.h b/plugins/StartPosition/src/version.h index c1b334483d..7eb14073ef 100644 --- a/plugins/StartPosition/src/version.h +++ b/plugins/StartPosition/src/version.h @@ -10,4 +10,4 @@ #define __DESCRIPTION "Plugin supports starting position of Contact List relative to the taskbar and screen side." #define __AUTHOR "Felipe Brahm - souFrag" #define __AUTHORWEB "https://miranda-ng.org/p/StartPosition" -#define __COPYRIGHT "© 2005-2008 Felipe Brahm - souFrag, © 2012-22 Miranda NG team" +#define __COPYRIGHT "© 2005-2008 Felipe Brahm - souFrag, © 2012-23 Miranda NG team" -- cgit v1.2.3