Solid

winopticaldisc.h
1/*
2 SPDX-FileCopyrightText: 2013 Patrick von Reth <vonreth@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6#ifndef WINOPTICALDISC_H
7#define WINOPTICALDISC_H
8
9#include <solid/devices/ifaces/opticaldisc.h>
10
11#include "winstoragevolume.h"
12
13namespace Solid
14{
15namespace Backends
16{
17namespace Win
18{
19class WinOpticalDisc : public WinStorageVolume, virtual public Solid::Ifaces::OpticalDisc
20{
23
24public:
25 WinOpticalDisc(WinDevice *device);
26 virtual ~WinOpticalDisc();
27
28 virtual Solid::OpticalDisc::ContentTypes availableContent() const;
29
30 virtual Solid::OpticalDisc::DiscType discType() const;
31
32 virtual bool isAppendable() const;
33
34 virtual bool isBlank() const;
35
36 virtual bool isRewritable() const;
37
38 virtual qulonglong capacity() const;
39
40private:
42 bool m_isRewritable;
43 bool m_isBlank;
44 bool m_isAppendable;
45};
46}
47}
48}
49
50#endif // WINOPTICALDISC_H
This device interface is available on optical discs.
DiscType
This enum type defines the type of optical disc it can be.
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:56:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.