/* SPDX-FileCopyrightText: 2008-2010 Volker Lanz SPDX-FileCopyrightText: 2015 Chris Campbell SPDX-FileCopyrightText: 2016 Andrius Štikonas SPDX-FileCopyrightText: 2020 Arnaud Ferraris SPDX-FileCopyrightText: 2020 Gaël PORTAY SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef KPMCORE_UFS_H #define KPMCORE_UFS_H #include "util/libpartitionmanagerexport.h" #include "fs/filesystem.h" #include class QString; namespace FS { /** A UFS file system. @author Volker Lanz */ class LIBKPMCORE_EXPORT ufs : public FileSystem { public: ufs(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString& label, const QVariantMap& features = {}); public: CommandSupportType supportMove() const override { return m_Move; } CommandSupportType supportCopy() const override { return m_Copy; } CommandSupportType supportBackup() const override { return m_Backup; } bool supportToolFound() const override { return true; } public: static CommandSupportType m_Move; static CommandSupportType m_Copy; static CommandSupportType m_Backup; }; } #endif