From 0d7e4500ecbce68802cb68437db6e20a1e1f5dda Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sat, 16 May 2020 15:12:14 +0200 Subject: [PATCH 1/4] api related updated --- src/GameInfoLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GameInfoLoader.cpp b/src/GameInfoLoader.cpp index 45bb6e6a..4981f8f2 100644 --- a/src/GameInfoLoader.cpp +++ b/src/GameInfoLoader.cpp @@ -41,7 +41,7 @@ bool CGameInfoLoader::Load(void) if (!m_bSupportsVfs) return false; - STAT_STRUCTURE statStruct = {0}; + kodi::vfs::FileStatus statStruct; bool bExists = kodi::vfs::StatFile(m_path, statStruct); // Not all VFS protocols necessarily support StatFile(), so also check if file exists @@ -66,7 +66,7 @@ bool CGameInfoLoader::Load(void) return false; } - int64_t size = statStruct.size; + int64_t size = statStruct.GetSize(); if (size > 0) { // Size is known, read entire file at once (unless it is too big) From 8b6a4700450edc638e77f4795d87b44529591d42 Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sat, 16 May 2020 15:13:35 +0200 Subject: [PATCH 2/4] change license in addon.xml to GPL-2.0-or-later --- Readme.md | 2 +- game.libretro/addon.xml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index eb714a30..b2b4a3fc 100644 --- a/Readme.md +++ b/Readme.md @@ -4,7 +4,7 @@ This add-on provides a wrapper that allows Libretro cores to be loaded as game a This add-on depends on the Game API, which was added in Kodi 18 (Leia). -[![License: GPL v2+](https://img.shields.io/badge/License-GPL%20v2+-blue.svg)](LICENSE.md) +[![License: GPL-2.0-or-later](https://img.shields.io/badge/License-GPL%20v2+-blue.svg)](LICENSE.md) [![Build Status](https://travis-ci.org/kodi-game/game.libretro.svg?branch=Matrix)](https://travis-ci.org/kodi-game/game.libretro/branches) [![Build Status](https://dev.azure.com/teamkodi/kodi-game/_apis/build/status/kodi-game.game.libretro?branchName=Matrix)](https://dev.azure.com/teamkodi/kodi-game/_build/latest?definitionId=25&branchName=Matrix) [![Build Status](https://jenkins.kodi.tv/view/Addons/job/kodi-game/job/game.libretro/job/Matrix/badge/icon)](https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-game%2Fgame.libretro/branches/) diff --git a/game.libretro/addon.xml.in b/game.libretro/addon.xml.in index 0dabeba4..1325729d 100644 --- a/game.libretro/addon.xml.in +++ b/game.libretro/addon.xml.in @@ -12,7 +12,7 @@ Libretro compatibility layer for Kodi's Game API This add-on provides a wrapper for libretro cores, allowing them to be loaded as game add-ons. @PLATFORM@ - GPL-2.0+ + GPL-2.0-or-later https://github.com/kodi-game/game.libretro icon.png From 0375d2503b0b030620937fd758ebf8e097ff2643 Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sat, 16 May 2020 15:24:55 +0200 Subject: [PATCH 3/4] change source license to SPDX format --- src/GameInfoLoader.cpp | 19 +++---------------- src/GameInfoLoader.h | 20 ++++---------------- src/audio/AudioStream.cpp | 19 +++---------------- src/audio/AudioStream.h | 20 ++++---------------- src/audio/SingleFrameAudio.cpp | 19 +++---------------- src/audio/SingleFrameAudio.h | 20 ++++---------------- src/client.cpp | 19 +++---------------- src/client.h | 19 +++---------------- src/input/ButtonMapper.cpp | 19 +++---------------- src/input/ButtonMapper.h | 20 ++++---------------- src/input/ControllerLayout.cpp | 19 +++---------------- src/input/ControllerLayout.h | 20 ++++---------------- src/input/ControllerTopology.cpp | 19 +++---------------- src/input/ControllerTopology.h | 20 ++++---------------- src/input/DefaultControllerDefines.h | 20 ++++---------------- src/input/DefaultControllerTranslator.cpp | 19 +++---------------- src/input/DefaultControllerTranslator.h | 20 ++++---------------- src/input/DefaultKeyboardDefines.h | 20 ++++---------------- src/input/DefaultKeyboardTranslator.cpp | 19 +++---------------- src/input/DefaultKeyboardTranslator.h | 20 ++++---------------- src/input/InputDefinitions.h | 20 ++++---------------- src/input/InputManager.cpp | 19 +++---------------- src/input/InputManager.h | 20 ++++---------------- src/input/InputTranslator.cpp | 19 +++---------------- src/input/InputTranslator.h | 20 ++++---------------- src/input/InputTypes.h | 20 ++++---------------- src/input/LibretroDevice.cpp | 19 +++---------------- src/input/LibretroDevice.h | 20 ++++---------------- src/input/LibretroDeviceInput.cpp | 19 +++---------------- src/input/LibretroDeviceInput.h | 20 ++++---------------- src/libretro/ClientBridge.cpp | 19 +++---------------- src/libretro/ClientBridge.h | 20 ++++---------------- src/libretro/FrontendBridge.cpp | 19 +++---------------- src/libretro/FrontendBridge.h | 20 ++++---------------- src/libretro/LibretroDLL.cpp | 19 +++---------------- src/libretro/LibretroDLL.h | 20 ++++---------------- src/libretro/LibretroDefines.h | 20 ++++---------------- src/libretro/LibretroEnvironment.cpp | 19 +++---------------- src/libretro/LibretroEnvironment.h | 20 ++++---------------- src/libretro/LibretroResources.cpp | 19 +++---------------- src/libretro/LibretroResources.h | 20 ++++---------------- src/libretro/LibretroTranslator.cpp | 19 +++---------------- src/libretro/LibretroTranslator.h | 20 ++++---------------- src/log/ILog.h | 21 +++++---------------- src/log/Log.cpp | 20 ++++---------------- src/log/Log.h | 21 +++++---------------- src/log/LogAddon.cpp | 20 ++++---------------- src/log/LogAddon.h | 21 +++++---------------- src/log/LogConsole.cpp | 20 ++++---------------- src/log/LogConsole.h | 21 +++++---------------- src/settings/LanguageGenerator.cpp | 19 +++---------------- src/settings/LanguageGenerator.h | 20 ++++---------------- src/settings/LibretroSetting.cpp | 19 +++---------------- src/settings/LibretroSetting.h | 20 ++++---------------- src/settings/LibretroSettings.cpp | 19 +++---------------- src/settings/LibretroSettings.h | 20 ++++---------------- src/settings/Settings.cpp | 19 +++---------------- src/settings/Settings.h | 20 ++++---------------- src/settings/SettingsGenerator.cpp | 19 +++---------------- src/settings/SettingsGenerator.h | 20 ++++---------------- src/settings/SettingsTypes.h | 20 ++++---------------- src/utils/Timer.cpp | 19 +++---------------- src/utils/Timer.h | 20 ++++---------------- src/video/VideoGeometry.cpp | 19 +++---------------- src/video/VideoGeometry.h | 20 ++++---------------- src/video/VideoStream.cpp | 19 +++---------------- src/video/VideoStream.h | 20 ++++---------------- 67 files changed, 244 insertions(+), 1072 deletions(-) diff --git a/src/GameInfoLoader.cpp b/src/GameInfoLoader.cpp index 4981f8f2..8b101fdf 100644 --- a/src/GameInfoLoader.cpp +++ b/src/GameInfoLoader.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "GameInfoLoader.h" diff --git a/src/GameInfoLoader.h b/src/GameInfoLoader.h index 180339bf..96b77bf2 100644 --- a/src/GameInfoLoader.h +++ b/src/GameInfoLoader.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "libretro/libretro.h" diff --git a/src/audio/AudioStream.cpp b/src/audio/AudioStream.cpp index 5211969b..7b822a4d 100644 --- a/src/audio/AudioStream.cpp +++ b/src/audio/AudioStream.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "AudioStream.h" diff --git a/src/audio/AudioStream.h b/src/audio/AudioStream.h index 1bcc6970..91c5ae78 100644 --- a/src/audio/AudioStream.h +++ b/src/audio/AudioStream.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "SingleFrameAudio.h" diff --git a/src/audio/SingleFrameAudio.cpp b/src/audio/SingleFrameAudio.cpp index c1014127..414d8141 100644 --- a/src/audio/SingleFrameAudio.cpp +++ b/src/audio/SingleFrameAudio.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "SingleFrameAudio.h" diff --git a/src/audio/SingleFrameAudio.h b/src/audio/SingleFrameAudio.h index c15229c8..3f979117 100644 --- a/src/audio/SingleFrameAudio.h +++ b/src/audio/SingleFrameAudio.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/client.cpp b/src/client.cpp index 7df91931..d9d19e28 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "input/ButtonMapper.h" diff --git a/src/client.h b/src/client.h index f47d3761..4932af4b 100644 --- a/src/client.h +++ b/src/client.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #pragma once diff --git a/src/input/ButtonMapper.cpp b/src/input/ButtonMapper.cpp index f4e8ed5a..7e6e4200 100644 --- a/src/input/ButtonMapper.cpp +++ b/src/input/ButtonMapper.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "ButtonMapper.h" diff --git a/src/input/ButtonMapper.h b/src/input/ButtonMapper.h index 737b262a..24028b93 100644 --- a/src/input/ButtonMapper.h +++ b/src/input/ButtonMapper.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "InputTypes.h" diff --git a/src/input/ControllerLayout.cpp b/src/input/ControllerLayout.cpp index 735ad488..986d6e62 100644 --- a/src/input/ControllerLayout.cpp +++ b/src/input/ControllerLayout.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "ControllerLayout.h" diff --git a/src/input/ControllerLayout.h b/src/input/ControllerLayout.h index 6b1b51aa..cce8c885 100644 --- a/src/input/ControllerLayout.h +++ b/src/input/ControllerLayout.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/ControllerTopology.cpp b/src/input/ControllerTopology.cpp index 7c9eac55..ca9da8df 100644 --- a/src/input/ControllerTopology.cpp +++ b/src/input/ControllerTopology.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "ControllerTopology.h" diff --git a/src/input/ControllerTopology.h b/src/input/ControllerTopology.h index c9b0249f..6356d30a 100644 --- a/src/input/ControllerTopology.h +++ b/src/input/ControllerTopology.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/DefaultControllerDefines.h b/src/input/DefaultControllerDefines.h index 6db3f199..f3ec50e2 100644 --- a/src/input/DefaultControllerDefines.h +++ b/src/input/DefaultControllerDefines.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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 either version 2, or (at your option) - * any later version. - * - * 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 see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #define DEFAULT_CONTROLLER_FEATURE_A "a" diff --git a/src/input/DefaultControllerTranslator.cpp b/src/input/DefaultControllerTranslator.cpp index 78a00083..82d15083 100644 --- a/src/input/DefaultControllerTranslator.cpp +++ b/src/input/DefaultControllerTranslator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "DefaultControllerTranslator.h" diff --git a/src/input/DefaultControllerTranslator.h b/src/input/DefaultControllerTranslator.h index 0e0cf82b..9c938720 100644 --- a/src/input/DefaultControllerTranslator.h +++ b/src/input/DefaultControllerTranslator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/DefaultKeyboardDefines.h b/src/input/DefaultKeyboardDefines.h index 961dc21e..7acdde90 100644 --- a/src/input/DefaultKeyboardDefines.h +++ b/src/input/DefaultKeyboardDefines.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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 either version 2, or (at your option) - * any later version. - * - * 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 see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #define DEFAULT_KEYBOARD_FEATURE_BACKSPACE "backspace" diff --git a/src/input/DefaultKeyboardTranslator.cpp b/src/input/DefaultKeyboardTranslator.cpp index 4fd913e6..140bed9d 100644 --- a/src/input/DefaultKeyboardTranslator.cpp +++ b/src/input/DefaultKeyboardTranslator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "DefaultKeyboardTranslator.h" diff --git a/src/input/DefaultKeyboardTranslator.h b/src/input/DefaultKeyboardTranslator.h index adb835ce..75e04e2a 100644 --- a/src/input/DefaultKeyboardTranslator.h +++ b/src/input/DefaultKeyboardTranslator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/InputDefinitions.h b/src/input/InputDefinitions.h index 3bc7b0f9..365556b9 100644 --- a/src/input/InputDefinitions.h +++ b/src/input/InputDefinitions.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once // Buttonmap XML diff --git a/src/input/InputManager.cpp b/src/input/InputManager.cpp index cce674de..6315e015 100644 --- a/src/input/InputManager.cpp +++ b/src/input/InputManager.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "InputManager.h" diff --git a/src/input/InputManager.h b/src/input/InputManager.h index 34774b75..008dab65 100644 --- a/src/input/InputManager.h +++ b/src/input/InputManager.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "InputTypes.h" diff --git a/src/input/InputTranslator.cpp b/src/input/InputTranslator.cpp index 3f1117fc..f698fb5f 100644 --- a/src/input/InputTranslator.cpp +++ b/src/input/InputTranslator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "InputTranslator.h" diff --git a/src/input/InputTranslator.h b/src/input/InputTranslator.h index d47afe9b..b86cc4ee 100644 --- a/src/input/InputTranslator.h +++ b/src/input/InputTranslator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/InputTypes.h b/src/input/InputTypes.h index 1fd6c4ba..c8bd4b57 100644 --- a/src/input/InputTypes.h +++ b/src/input/InputTypes.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2017 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2017-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/input/LibretroDevice.cpp b/src/input/LibretroDevice.cpp index 2ca992bc..4f4eab55 100644 --- a/src/input/LibretroDevice.cpp +++ b/src/input/LibretroDevice.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroDevice.h" diff --git a/src/input/LibretroDevice.h b/src/input/LibretroDevice.h index 9540baed..f98a5ac7 100644 --- a/src/input/LibretroDevice.h +++ b/src/input/LibretroDevice.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "InputTypes.h" diff --git a/src/input/LibretroDeviceInput.cpp b/src/input/LibretroDeviceInput.cpp index 89ce8273..98da1d25 100644 --- a/src/input/LibretroDeviceInput.cpp +++ b/src/input/LibretroDeviceInput.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroDeviceInput.h" diff --git a/src/input/LibretroDeviceInput.h b/src/input/LibretroDeviceInput.h index a79a9a7c..95e59752 100644 --- a/src/input/LibretroDeviceInput.h +++ b/src/input/LibretroDeviceInput.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/libretro/ClientBridge.cpp b/src/libretro/ClientBridge.cpp index 7c78d3a6..64ccee48 100644 --- a/src/libretro/ClientBridge.cpp +++ b/src/libretro/ClientBridge.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "ClientBridge.h" diff --git a/src/libretro/ClientBridge.h b/src/libretro/ClientBridge.h index 4fd1c6a9..341c214b 100644 --- a/src/libretro/ClientBridge.h +++ b/src/libretro/ClientBridge.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/libretro/FrontendBridge.cpp b/src/libretro/FrontendBridge.cpp index 3fb1e841..616ce212 100644 --- a/src/libretro/FrontendBridge.cpp +++ b/src/libretro/FrontendBridge.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "FrontendBridge.h" diff --git a/src/libretro/FrontendBridge.h b/src/libretro/FrontendBridge.h index 993b2353..792d7789 100644 --- a/src/libretro/FrontendBridge.h +++ b/src/libretro/FrontendBridge.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "libretro.h" diff --git a/src/libretro/LibretroDLL.cpp b/src/libretro/LibretroDLL.cpp index 76167f7d..9126ebe1 100644 --- a/src/libretro/LibretroDLL.cpp +++ b/src/libretro/LibretroDLL.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroDLL.h" diff --git a/src/libretro/LibretroDLL.h b/src/libretro/LibretroDLL.h index 5b372aeb..65d36a00 100644 --- a/src/libretro/LibretroDLL.h +++ b/src/libretro/LibretroDLL.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "libretro.h" diff --git a/src/libretro/LibretroDefines.h b/src/libretro/LibretroDefines.h index ca695744..33c4e58d 100644 --- a/src/libretro/LibretroDefines.h +++ b/src/libretro/LibretroDefines.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once /*! diff --git a/src/libretro/LibretroEnvironment.cpp b/src/libretro/LibretroEnvironment.cpp index c2c9eb7f..1a4a3aa7 100644 --- a/src/libretro/LibretroEnvironment.cpp +++ b/src/libretro/LibretroEnvironment.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroEnvironment.h" diff --git a/src/libretro/LibretroEnvironment.h b/src/libretro/LibretroEnvironment.h index de8f99e1..db414363 100644 --- a/src/libretro/LibretroEnvironment.h +++ b/src/libretro/LibretroEnvironment.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "LibretroResources.h" diff --git a/src/libretro/LibretroResources.cpp b/src/libretro/LibretroResources.cpp index 430d26fe..69d8a999 100644 --- a/src/libretro/LibretroResources.cpp +++ b/src/libretro/LibretroResources.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroResources.h" diff --git a/src/libretro/LibretroResources.h b/src/libretro/LibretroResources.h index 5e897920..db0cac0e 100644 --- a/src/libretro/LibretroResources.h +++ b/src/libretro/LibretroResources.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/libretro/LibretroTranslator.cpp b/src/libretro/LibretroTranslator.cpp index 7344a179..f633aa1e 100644 --- a/src/libretro/LibretroTranslator.cpp +++ b/src/libretro/LibretroTranslator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroTranslator.h" diff --git a/src/libretro/LibretroTranslator.h b/src/libretro/LibretroTranslator.h index 2ec60f52..4792be84 100644 --- a/src/libretro/LibretroTranslator.h +++ b/src/libretro/LibretroTranslator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015-2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2015-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "input/LibretroDevice.h" diff --git a/src/log/ILog.h b/src/log/ILog.h index 9602ab95..a7ed779f 100644 --- a/src/log/ILog.h +++ b/src/log/ILog.h @@ -1,22 +1,11 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once namespace LIBRETRO diff --git a/src/log/Log.cpp b/src/log/Log.cpp index 7e790ce5..c3c78d0c 100644 --- a/src/log/Log.cpp +++ b/src/log/Log.cpp @@ -1,21 +1,9 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "Log.h" diff --git a/src/log/Log.h b/src/log/Log.h index 80060136..461d3663 100644 --- a/src/log/Log.h +++ b/src/log/Log.h @@ -1,22 +1,11 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "ILog.h" diff --git a/src/log/LogAddon.cpp b/src/log/LogAddon.cpp index 03cbd008..a730d634 100644 --- a/src/log/LogAddon.cpp +++ b/src/log/LogAddon.cpp @@ -1,21 +1,9 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LogAddon.h" diff --git a/src/log/LogAddon.h b/src/log/LogAddon.h index d16b46bb..dd4ab3c5 100644 --- a/src/log/LogAddon.h +++ b/src/log/LogAddon.h @@ -1,22 +1,11 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "ILog.h" diff --git a/src/log/LogConsole.cpp b/src/log/LogConsole.cpp index 3e3f364b..4bc72a87 100644 --- a/src/log/LogConsole.cpp +++ b/src/log/LogConsole.cpp @@ -1,21 +1,9 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LogConsole.h" diff --git a/src/log/LogConsole.h b/src/log/LogConsole.h index d0fbbe31..7a19997b 100644 --- a/src/log/LogConsole.h +++ b/src/log/LogConsole.h @@ -1,22 +1,11 @@ /* - * Copyright (C) 2014-2016 Team Kodi - * Portions Copyright (C) 2013-2014 Lars Op den Kamp - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) + * Portions Copyright (C) 2013-2014 Lars Op den Kamp * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "ILog.h" diff --git a/src/settings/LanguageGenerator.cpp b/src/settings/LanguageGenerator.cpp index a4600a3b..268a86fd 100644 --- a/src/settings/LanguageGenerator.cpp +++ b/src/settings/LanguageGenerator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LanguageGenerator.h" diff --git a/src/settings/LanguageGenerator.h b/src/settings/LanguageGenerator.h index f82b9a0f..e95b0108 100644 --- a/src/settings/LanguageGenerator.h +++ b/src/settings/LanguageGenerator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "SettingsTypes.h" diff --git a/src/settings/LibretroSetting.cpp b/src/settings/LibretroSetting.cpp index ea3ec89f..e0f5288e 100644 --- a/src/settings/LibretroSetting.cpp +++ b/src/settings/LibretroSetting.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroSetting.h" diff --git a/src/settings/LibretroSetting.h b/src/settings/LibretroSetting.h index 0867f715..8d3d3309 100644 --- a/src/settings/LibretroSetting.h +++ b/src/settings/LibretroSetting.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/settings/LibretroSettings.cpp b/src/settings/LibretroSettings.cpp index 426a110b..fcb7ce46 100644 --- a/src/settings/LibretroSettings.cpp +++ b/src/settings/LibretroSettings.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "LibretroSettings.h" diff --git a/src/settings/LibretroSettings.h b/src/settings/LibretroSettings.h index c7751454..7052c3cc 100644 --- a/src/settings/LibretroSettings.h +++ b/src/settings/LibretroSettings.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "SettingsTypes.h" diff --git a/src/settings/Settings.cpp b/src/settings/Settings.cpp index 9793efa8..72df8b2f 100644 --- a/src/settings/Settings.cpp +++ b/src/settings/Settings.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "Settings.h" diff --git a/src/settings/Settings.h b/src/settings/Settings.h index 0d9d4949..5494f419 100644 --- a/src/settings/Settings.h +++ b/src/settings/Settings.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/settings/SettingsGenerator.cpp b/src/settings/SettingsGenerator.cpp index ccc8f4bb..a56b86e4 100644 --- a/src/settings/SettingsGenerator.cpp +++ b/src/settings/SettingsGenerator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "SettingsGenerator.h" diff --git a/src/settings/SettingsGenerator.h b/src/settings/SettingsGenerator.h index f25e7299..216ac7e5 100644 --- a/src/settings/SettingsGenerator.h +++ b/src/settings/SettingsGenerator.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "SettingsTypes.h" diff --git a/src/settings/SettingsTypes.h b/src/settings/SettingsTypes.h index 65bcfc23..640bf20e 100644 --- a/src/settings/SettingsTypes.h +++ b/src/settings/SettingsTypes.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include "LibretroSetting.h" diff --git a/src/utils/Timer.cpp b/src/utils/Timer.cpp index b6b7b922..50193c8c 100644 --- a/src/utils/Timer.cpp +++ b/src/utils/Timer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014-2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2014-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "Timer.h" diff --git a/src/utils/Timer.h b/src/utils/Timer.h index cacd6c1b..c3862334 100644 --- a/src/utils/Timer.h +++ b/src/utils/Timer.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include diff --git a/src/video/VideoGeometry.cpp b/src/video/VideoGeometry.cpp index 47a7a15c..6ccc79ef 100644 --- a/src/video/VideoGeometry.cpp +++ b/src/video/VideoGeometry.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "VideoGeometry.h" diff --git a/src/video/VideoGeometry.h b/src/video/VideoGeometry.h index b7b3dda3..d0906207 100644 --- a/src/video/VideoGeometry.h +++ b/src/video/VideoGeometry.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2018 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2018-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once struct retro_game_geometry; diff --git a/src/video/VideoStream.cpp b/src/video/VideoStream.cpp index 77d60588..3e177495 100644 --- a/src/video/VideoStream.cpp +++ b/src/video/VideoStream.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ #include "VideoStream.h" diff --git a/src/video/VideoStream.h b/src/video/VideoStream.h index b878be50..36ed6aac 100644 --- a/src/video/VideoStream.h +++ b/src/video/VideoStream.h @@ -1,22 +1,10 @@ /* - * Copyright (C) 2016 Team Kodi - * http://kodi.tv - * - * 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; either version 2, or (at your option) - * any later version. - * - * 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; see the file COPYING. If not, see - * . + * Copyright (C) 2016-2020 Team Kodi (https://kodi.tv) * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once #include From 15a78ed6ed7c89d85a52924816c9264563e7c26d Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sat, 16 May 2020 15:26:29 +0200 Subject: [PATCH 4/4] increase version to 2.0.2 (API related) --- game.libretro/addon.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.libretro/addon.xml.in b/game.libretro/addon.xml.in index 1325729d..801f2ae8 100644 --- a/game.libretro/addon.xml.in +++ b/game.libretro/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@