diff --git a/src/ops/backupoperation.cpp b/src/ops/backupoperation.cpp index eee80f7..2723280 100644 --- a/src/ops/backupoperation.cpp +++ b/src/ops/backupoperation.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/backupoperation.h" diff --git a/src/ops/backupoperation.h b/src/ops/backupoperation.h index 21fd3f8..37d5102 100644 --- a/src/ops/backupoperation.h +++ b/src/ops/backupoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_BACKUPOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_BACKUPOPERATION_H #define KPMCORE_BACKUPOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/checkoperation.cpp b/src/ops/checkoperation.cpp index 5c04652..ae2d2a1 100644 --- a/src/ops/checkoperation.cpp +++ b/src/ops/checkoperation.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/checkoperation.h" diff --git a/src/ops/checkoperation.h b/src/ops/checkoperation.h index 05c4da4..ac6c730 100644 --- a/src/ops/checkoperation.h +++ b/src/ops/checkoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008, 2011 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_CHECKOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_CHECKOPERATION_H #define KPMCORE_CHECKOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/copyoperation.cpp b/src/ops/copyoperation.cpp index e3e9d37..4cd3e41 100644 --- a/src/ops/copyoperation.cpp +++ b/src/ops/copyoperation.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/copyoperation.h" diff --git a/src/ops/copyoperation.h b/src/ops/copyoperation.h index 1bb04a6..f81e859 100644 --- a/src/ops/copyoperation.h +++ b/src/ops/copyoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_COPYOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYOPERATION_H #define KPMCORE_COPYOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/createfilesystemoperation.cpp b/src/ops/createfilesystemoperation.cpp index 7f32374..4e6f40e 100644 --- a/src/ops/createfilesystemoperation.cpp +++ b/src/ops/createfilesystemoperation.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/createfilesystemoperation.h" diff --git a/src/ops/createfilesystemoperation.h b/src/ops/createfilesystemoperation.h index 1efb876..7f88831 100644 --- a/src/ops/createfilesystemoperation.h +++ b/src/ops/createfilesystemoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_CREATEFILESYSTEMOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_CREATEFILESYSTEMOPERATION_H #define KPMCORE_CREATEFILESYSTEMOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/createpartitiontableoperation.cpp b/src/ops/createpartitiontableoperation.cpp index f68b122..145e705 100644 --- a/src/ops/createpartitiontableoperation.cpp +++ b/src/ops/createpartitiontableoperation.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008, 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/createpartitiontableoperation.h" diff --git a/src/ops/createpartitiontableoperation.h b/src/ops/createpartitiontableoperation.h index 9306d92..fcc3f64 100644 --- a/src/ops/createpartitiontableoperation.h +++ b/src/ops/createpartitiontableoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_CREATEPARTITIONTABLEOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_CREATEPARTITIONTABLEOPERATION_H #define KPMCORE_CREATEPARTITIONTABLEOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/createvolumegroupoperation.cpp b/src/ops/createvolumegroupoperation.cpp index 5930905..3905f0d 100644 --- a/src/ops/createvolumegroupoperation.cpp +++ b/src/ops/createvolumegroupoperation.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/createvolumegroupoperation.h" diff --git a/src/ops/createvolumegroupoperation.h b/src/ops/createvolumegroupoperation.h index 4fa49f2..67f5c83 100644 --- a/src/ops/createvolumegroupoperation.h +++ b/src/ops/createvolumegroupoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Caio Carvalho -#if !defined(KPMCORE_CREATEVOLUMEGROUPOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_CREATEVOLUMEGROUPOPERATION_H #define KPMCORE_CREATEVOLUMEGROUPOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/deactivatevolumegroupoperation.cpp b/src/ops/deactivatevolumegroupoperation.cpp index 2a2db83..89f1bbf 100644 --- a/src/ops/deactivatevolumegroupoperation.cpp +++ b/src/ops/deactivatevolumegroupoperation.cpp @@ -1,19 +1,9 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/deactivatevolumegroupoperation.h" #include "jobs/deactivatevolumegroupjob.h" diff --git a/src/ops/deactivatevolumegroupoperation.h b/src/ops/deactivatevolumegroupoperation.h index bb4d722..c609169 100644 --- a/src/ops/deactivatevolumegroupoperation.h +++ b/src/ops/deactivatevolumegroupoperation.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan -#if !defined(KPMCORE_DEACTIVATEVOLUMEGROUPOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_DEACTIVATEVOLUMEGROUPOPERATION_H #define KPMCORE_DEACTIVATEVOLUMEGROUPOPERATION_H #include "util/libpartitionmanagerexport.h" @@ -25,7 +15,6 @@ #include - class DeactivateLogicalVolumeJob; class DeactivateVolumeGroupJob; class VolumeManagerDevice; diff --git a/src/ops/deleteoperation.cpp b/src/ops/deleteoperation.cpp index d1ec00c..919aed6 100644 --- a/src/ops/deleteoperation.cpp +++ b/src/ops/deleteoperation.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008, 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/deleteoperation.h" diff --git a/src/ops/deleteoperation.h b/src/ops/deleteoperation.h index 682abd2..54f1abb 100644 --- a/src/ops/deleteoperation.h +++ b/src/ops/deleteoperation.h @@ -1,23 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008, 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho -#if !defined(KPMCORE_DELETEOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_DELETEOPERATION_H #define KPMCORE_DELETEOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/newoperation.cpp b/src/ops/newoperation.cpp index 8e4f454..e27c6d5 100644 --- a/src/ops/newoperation.cpp +++ b/src/ops/newoperation.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/newoperation.h" diff --git a/src/ops/newoperation.h b/src/ops/newoperation.h index e596535..4909911 100644 --- a/src/ops/newoperation.h +++ b/src/ops/newoperation.h @@ -1,23 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_NEWOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_NEWOPERATION_H #define KPMCORE_NEWOPERATION_H #include "fs/filesystem.h" diff --git a/src/ops/operation.cpp b/src/ops/operation.cpp index eb73161..21465bd 100644 --- a/src/ops/operation.cpp +++ b/src/ops/operation.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/operation_p.h" diff --git a/src/ops/operation.h b/src/ops/operation.h index e551043..5321e07 100644 --- a/src/ops/operation.h +++ b/src/ops/operation.h @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_OPERATION_H #define KPMCORE_OPERATION_H diff --git a/src/ops/operation_p.h b/src/ops/operation_p.h index 3a37595..914af9c 100644 --- a/src/ops/operation_p.h +++ b/src/ops/operation_p.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_OPERATION_P_H #define KPMCORE_OPERATION_P_H diff --git a/src/ops/removevolumegroupoperation.cpp b/src/ops/removevolumegroupoperation.cpp index 1c16433..e2c957b 100644 --- a/src/ops/removevolumegroupoperation.cpp +++ b/src/ops/removevolumegroupoperation.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/removevolumegroupoperation.h" #include "jobs/removevolumegroupjob.h" diff --git a/src/ops/removevolumegroupoperation.h b/src/ops/removevolumegroupoperation.h index 5bc8901..8fa26ae 100644 --- a/src/ops/removevolumegroupoperation.h +++ b/src/ops/removevolumegroupoperation.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan -#if !defined(KPMCORE_REMOVEVOLUMEGROUPOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_REMOVEVOLUMEGROUPOPERATION_H #define KPMCORE_REMOVEVOLUMEGROUPOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/resizeoperation.cpp b/src/ops/resizeoperation.cpp index 3527a96..d2dc966 100644 --- a/src/ops/resizeoperation.cpp +++ b/src/ops/resizeoperation.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008, 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2012 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/resizeoperation.h" diff --git a/src/ops/resizeoperation.h b/src/ops/resizeoperation.h index c8bf148..e9ad3d7 100644 --- a/src/ops/resizeoperation.h +++ b/src/ops/resizeoperation.h @@ -1,23 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2018 Caio Carvalho -#if !defined(KPMCORE_RESIZEOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_RESIZEOPERATION_H #define KPMCORE_RESIZEOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/resizevolumegroupoperation.cpp b/src/ops/resizevolumegroupoperation.cpp index 6996899..6e0c0a5 100644 --- a/src/ops/resizevolumegroupoperation.cpp +++ b/src/ops/resizevolumegroupoperation.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/resizevolumegroupoperation.h" diff --git a/src/ops/resizevolumegroupoperation.h b/src/ops/resizevolumegroupoperation.h index c46364c..7e6cc86 100644 --- a/src/ops/resizevolumegroupoperation.h +++ b/src/ops/resizevolumegroupoperation.h @@ -1,23 +1,11 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2017 Andrius Štikonas -#if !defined(KPMCORE_RESIZEVOLUMEGROUPOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_RESIZEVOLUMEGROUPOPERATION_H #define KPMCORE_RESIZEVOLUMEGROUPOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/restoreoperation.cpp b/src/ops/restoreoperation.cpp index 24ef272..476d2ec 100644 --- a/src/ops/restoreoperation.cpp +++ b/src/ops/restoreoperation.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/restoreoperation.h" diff --git a/src/ops/restoreoperation.h b/src/ops/restoreoperation.h index cf9d792..cb8fb8c 100644 --- a/src/ops/restoreoperation.h +++ b/src/ops/restoreoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_RESTOREOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_RESTOREOPERATION_H #define KPMCORE_RESTOREOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/setfilesystemlabeloperation.cpp b/src/ops/setfilesystemlabeloperation.cpp index ef6f8b7..feb7062 100644 --- a/src/ops/setfilesystemlabeloperation.cpp +++ b/src/ops/setfilesystemlabeloperation.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/setfilesystemlabeloperation.h" diff --git a/src/ops/setfilesystemlabeloperation.h b/src/ops/setfilesystemlabeloperation.h index 480da8f..cec75fc 100644 --- a/src/ops/setfilesystemlabeloperation.h +++ b/src/ops/setfilesystemlabeloperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_SETFILESYSTEMLABELOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_SETFILESYSTEMLABELOPERATION_H #define KPMCORE_SETFILESYSTEMLABELOPERATION_H #include "util/libpartitionmanagerexport.h" diff --git a/src/ops/setpartflagsoperation.cpp b/src/ops/setpartflagsoperation.cpp index f392d7f..9926c7f 100644 --- a/src/ops/setpartflagsoperation.cpp +++ b/src/ops/setpartflagsoperation.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ops/setpartflagsoperation.h" diff --git a/src/ops/setpartflagsoperation.h b/src/ops/setpartflagsoperation.h index d2d024b..5f84e66 100644 --- a/src/ops/setpartflagsoperation.h +++ b/src/ops/setpartflagsoperation.h @@ -1,23 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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 .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_SETPARTFLAGSOPERATION_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_SETPARTFLAGSOPERATION_H #define KPMCORE_SETPARTFLAGSOPERATION_H #include "util/libpartitionmanagerexport.h"