[libcalamares] SPDX, DLLEXPORT on partition/FileSystem.h

This commit is contained in:
Adriaan de Groot 2020-08-08 23:32:09 +02:00
parent fe3495ff97
commit 537aad1222

View file

@ -1,8 +1,9 @@
/* === This file is part of Calamares - <https://github.com/calamares> === /* === This file is part of Calamares - <https://github.com/calamares> ===
* *
* SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org> * SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
* SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org> * SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
* SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org> * SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
* SPDX-License-Identifier: GPL-3.0-or-later
* *
* Calamares is free software: you can redistribute it and/or modify * Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -17,9 +18,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Calamares. If not, see <http://www.gnu.org/licenses/>. * along with Calamares. If not, see <http://www.gnu.org/licenses/>.
* *
* SPDX-License-Identifier: GPL-3.0-or-later
* License-Filename: LICENSE
*
*/ */
/* /*
@ -30,13 +28,15 @@
#ifndef PARTITION_FILESYSTEM_H #ifndef PARTITION_FILESYSTEM_H
#define PARTITION_FILESYSTEM_H #define PARTITION_FILESYSTEM_H
#include "DllMacro.h"
#include <kpmcore/fs/filesystem.h> #include <kpmcore/fs/filesystem.h>
namespace CalamaresUtils namespace CalamaresUtils
{ {
namespace Partition namespace Partition
{ {
QString prettyNameForFileSystemType( FileSystem::Type t ); QString DLLEXPORT prettyNameForFileSystemType( FileSystem::Type t );
static inline QString static inline QString
untranslatedFS( FileSystem& fs ) untranslatedFS( FileSystem& fs )