Solid

udisksstoragevolume.h
1/*
2 SPDX-FileCopyrightText: 2010 Michael Zanetti <mzanetti@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef UDISKSSTORAGEVOLUME_H
8#define UDISKSSTORAGEVOLUME_H
9
10#include "udisksblock.h"
11#include <ifaces/storagevolume.h>
12
13namespace Solid
14{
15namespace Backends
16{
17namespace UDisks2
18{
19class StorageVolume : public Block, virtual public Solid::Ifaces::StorageVolume
20{
23
24public:
25 StorageVolume(Device *device);
26 ~StorageVolume() override;
27
28 QString encryptedContainerUdi() const override;
29 qulonglong size() const override;
30 QString uuid() const override;
31 QString label() const override;
32 QString fsType() const override;
33 Solid::StorageVolume::UsageType usage() const override;
34 bool isIgnored() const override;
35};
36
37}
38}
39}
40
41#endif // UDISKS2STORAGEVOLUME_H
This device interface is available on volume devices.
UsageType
This enum type defines the how a volume is used.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.