From fb1d9d722deae47f7c4d9d0f2b48f2d752f66b71 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Wed, 15 Mar 2023 07:27:29 +0900 Subject: [PATCH] [NOTEPAD] Use new-style file header (#5160) CORE-18837 --- base/applications/notepad/dialog.c | 27 ++++++----------------- base/applications/notepad/dialog.h | 21 ++++-------------- base/applications/notepad/main.c | 29 +++++++------------------ base/applications/notepad/notepad_res.h | 23 +++++--------------- base/applications/notepad/printing.c | 5 ++++- base/applications/notepad/rsrc.rc | 21 +++++------------- base/applications/notepad/settings.c | 25 +++++---------------- base/applications/notepad/text.c | 27 ++++++----------------- 8 files changed, 46 insertions(+), 132 deletions(-) diff --git a/base/applications/notepad/dialog.c b/base/applications/notepad/dialog.c index 5c78dadc39a..cc5efe0743f 100644 --- a/base/applications/notepad/dialog.c +++ b/base/applications/notepad/dialog.c @@ -1,24 +1,11 @@ /* - * Notepad (dialog.c) - * - * Copyright 1998,99 Marcel Baur - * Copyright 2002 Sylvain Petreolle - * Copyright 2002 Andriy Palamarchuk - * Copyright 2023 Katayama Hirofumi MZ - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 1998,99 Marcel Baur + * Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk + * Copyright 2023 Katayama Hirofumi MZ */ #include "notepad.h" diff --git a/base/applications/notepad/dialog.h b/base/applications/notepad/dialog.h index 43b70b4fa12..c9681df92f0 100644 --- a/base/applications/notepad/dialog.h +++ b/base/applications/notepad/dialog.h @@ -1,21 +1,8 @@ /* - * Notepad (dialog.h) - * - * Copyright 1998 Marcel Baur - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 1998,99 Marcel Baur */ #pragma once diff --git a/base/applications/notepad/main.c b/base/applications/notepad/main.c index f9e437f7720..e92e1e8ec0b 100644 --- a/base/applications/notepad/main.c +++ b/base/applications/notepad/main.c @@ -1,25 +1,12 @@ /* - * Notepad - * - * Copyright 2000 Mike McCormack - * Copyright 1997,98 Marcel Baur - * Copyright 2002 Sylvain Petreolle - * Copyright 2002 Andriy Palamarchuk - * Copyright 2020-2023 Katayama Hirofumi MZ - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 2000 Mike McCormack + * Copyright 1997,98 Marcel Baur + * Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk + * Copyright 2020-2023 Katayama Hirofumi MZ */ #include "notepad.h" diff --git a/base/applications/notepad/notepad_res.h b/base/applications/notepad/notepad_res.h index 153590f67b8..36260a98d7d 100644 --- a/base/applications/notepad/notepad_res.h +++ b/base/applications/notepad/notepad_res.h @@ -1,22 +1,9 @@ /* - * Constants, used in resources. - * - * Copyright 2002 Sylvain Petreolle - * Copyright 2002 Andriy Palamarchuk - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk */ #pragma once diff --git a/base/applications/notepad/printing.c b/base/applications/notepad/printing.c index 7040ec3498f..be15b2ecb0a 100644 --- a/base/applications/notepad/printing.c +++ b/base/applications/notepad/printing.c @@ -2,7 +2,10 @@ * PROJECT: ReactOS Notepad * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS - * COPYRIGHT: Copyright 2020-2023 Katayama Hirofumi MZ + * COPYRIGHT: Copyright 1998,99 Marcel Baur + * Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk + * Copyright 2020-2023 Katayama Hirofumi MZ */ #include "notepad.h" diff --git a/base/applications/notepad/rsrc.rc b/base/applications/notepad/rsrc.rc index d4f99a341cc..4d18985f8bf 100644 --- a/base/applications/notepad/rsrc.rc +++ b/base/applications/notepad/rsrc.rc @@ -1,20 +1,9 @@ /* - * Copyright 1997,98 Marcel Baur - * Copyright 2002 Sylvain Petreolle - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 1997,98 Marcel Baur + * Copyright 2002 Sylvain Petreolle */ #include diff --git a/base/applications/notepad/settings.c b/base/applications/notepad/settings.c index 92039ffa18d..5295a06f025 100644 --- a/base/applications/notepad/settings.c +++ b/base/applications/notepad/settings.c @@ -1,23 +1,10 @@ /* - * Notepad (settings.c) - * - * Copyright 1998,99 Marcel Baur - * Copyright 2002 Sylvain Petreolle - * Copyright 2002 Andriy Palamarchuk - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 1998,99 Marcel Baur + * Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk */ #include "notepad.h" diff --git a/base/applications/notepad/text.c b/base/applications/notepad/text.c index 8b8de3c9c1a..a0ad8640eb0 100644 --- a/base/applications/notepad/text.c +++ b/base/applications/notepad/text.c @@ -1,24 +1,11 @@ /* - * Notepad (text.c) - * - * Copyright 1998,99 Marcel Baur - * Copyright 2002 Sylvain Petreolle - * Copyright 2002 Andriy Palamarchuk - * Copyright 2019-2023 Katayama Hirofumi MZ - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * PROJECT: ReactOS Notepad + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Providing a Windows-compatible simple text editor for ReactOS + * COPYRIGHT: Copyright 1998,99 Marcel Baur + * Copyright 2002 Sylvain Petreolle + * Copyright 2002 Andriy Palamarchuk + * Copyright 2019-2023 Katayama Hirofumi MZ */ #include "notepad.h"