From a19fef8af843dfe0b1ce62982fe09e58ee819bb4 Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Wed, 25 Mar 2020 05:24:55 +0100 Subject: [PATCH] update source license to use SPDX --- src/OctonetData.cpp | 22 +++++----------------- src/OctonetData.h | 26 +++++++------------------- src/Socket.cpp | 20 +++++--------------- src/Socket.h | 20 +++++--------------- src/client.cpp | 22 +++++----------------- src/client.h | 25 +++++++------------------ 6 files changed, 34 insertions(+), 101 deletions(-) diff --git a/src/OctonetData.cpp b/src/OctonetData.cpp index 6a8eb76..cc5a3a6 100644 --- a/src/OctonetData.cpp +++ b/src/OctonetData.cpp @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015 Julian Scheel - * Copyright (C) 2015 jusst technologies GmbH - * Copyright (C) 2015 Digital Devices GmbH + * Copyright (C) 2015 Julian Scheel + * Copyright (C) 2015 jusst technologies GmbH + * Copyright (C) 2015 Digital Devices GmbH * - * 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 - * of the License, 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; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. * */ diff --git a/src/OctonetData.h b/src/OctonetData.h index 34327bb..0c8d271 100644 --- a/src/OctonetData.h +++ b/src/OctonetData.h @@ -1,27 +1,15 @@ -#pragma once - /* - * Copyright (C) 2015 Julian Scheel - * Copyright (C) 2015 jusst technologies GmbH - * Copyright (C) 2015 Digital Devices GmbH + * Copyright (C) 2015 Julian Scheel + * Copyright (C) 2015 jusst technologies GmbH + * Copyright (C) 2015 Digital Devices GmbH * - * 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 - * of the License, 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; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. * */ +#pragma once + #include #include "p8-platform/threads/threads.h" diff --git a/src/Socket.cpp b/src/Socket.cpp index fec6bd9..2d29678 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -1,21 +1,11 @@ /* - * Copyright (C) 2005-2011 Team XBMC - * http://www.xbmc.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, either version 2 of the License, 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. If not, see . + * Copyright (C) 2005-2020 Team Kodi + * https://kodi.tv * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #include "kodi/libXBMC_addon.h" #include #include "p8-platform/os.h" diff --git a/src/Socket.h b/src/Socket.h index 4d19e40..49f91fb 100644 --- a/src/Socket.h +++ b/src/Socket.h @@ -1,21 +1,11 @@ /* - * Copyright (C) 2005-2011 Team XBMC - * http://www.xbmc.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; 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. If not, see . + * Copyright (C) 2005-2020 Team Kodi + * https://kodi.tv * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. */ + #pragma once //Include platform specific datatypes, header files, defines and constants: diff --git a/src/client.cpp b/src/client.cpp index 4bf00e2..fa18d6d 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1,22 +1,10 @@ /* - * Copyright (C) 2015 Julian Scheel - * Copyright (C) 2015 jusst technologies GmbH - * Copyright (C) 2015 Digital Devices GmbH + * Copyright (C) 2015 Julian Scheel + * Copyright (C) 2015 jusst technologies GmbH + * Copyright (C) 2015 Digital Devices GmbH * - * 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 - * of the License, 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; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. * */ diff --git a/src/client.h b/src/client.h index ce9bdfd..6c18f0b 100644 --- a/src/client.h +++ b/src/client.h @@ -1,26 +1,15 @@ -#pragma once /* - * Copyright (C) 2015 Julian Scheel - * Copyright (C) 2015 jusst technologies GmbH - * Copyright (C) 2015 Digital Devices GmbH + * Copyright (C) 2015 Julian Scheel + * Copyright (C) 2015 jusst technologies GmbH + * Copyright (C) 2015 Digital Devices GmbH * - * 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 - * of the License, 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; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSE.md for more information. * */ +#pragma once + #include "kodi/libXBMC_addon.h" #include "kodi/libXBMC_pvr.h"