Solid

fakeportablemediaplayer.h
1/*
2 SPDX-FileCopyrightText: 2006 Davide Bettio <davide.bettio@kdemail.net>
3 SPDX-FileCopyrightText: 2007 Jeff Mitchell <kde-dev@emailgoeshere.com>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H
9#define SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H
10
11#include "fakedeviceinterface.h"
12#include <solid/devices/ifaces/portablemediaplayer.h>
13
14namespace Solid
15{
16namespace Backends
17{
18namespace Fake
19{
20class FakePortableMediaPlayer : public FakeDeviceInterface, virtual public Solid::Ifaces::PortableMediaPlayer
21{
24
25public:
26 explicit FakePortableMediaPlayer(FakeDevice *device);
27 ~FakePortableMediaPlayer() override;
28
29public Q_SLOTS:
30 QStringList supportedProtocols() const override;
31 QStringList supportedDrivers(QString protocol) const override;
32 QVariant driverHandle(const QString &driver) const override;
33};
34}
35}
36}
37
38#endif // SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H
This class implements Portable Media Player device interface and represents a portable media player a...
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.