File indexing completed on 2024-05-26 04:05:32

0001 /*
0002     SPDX-FileCopyrightText: 2006 Davide Bettio <davide.bettio@kdemail.net>
0003     SPDX-FileCopyrightText: 2007 Jeff Mitchell <kde-dev@emailgoeshere.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H
0009 #define SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H
0010 
0011 #include "fakedeviceinterface.h"
0012 #include <solid/devices/ifaces/portablemediaplayer.h>
0013 
0014 namespace Solid
0015 {
0016 namespace Backends
0017 {
0018 namespace Fake
0019 {
0020 class FakePortableMediaPlayer : public FakeDeviceInterface, virtual public Solid::Ifaces::PortableMediaPlayer
0021 {
0022     Q_OBJECT
0023     Q_INTERFACES(Solid::Ifaces::PortableMediaPlayer)
0024 
0025 public:
0026     explicit FakePortableMediaPlayer(FakeDevice *device);
0027     ~FakePortableMediaPlayer() override;
0028 
0029 public Q_SLOTS:
0030     QStringList supportedProtocols() const override;
0031     QStringList supportedDrivers(QString protocol) const override;
0032     QVariant driverHandle(const QString &driver) const override;
0033 };
0034 }
0035 }
0036 }
0037 
0038 #endif // SOLID_BACKENDS_FAKEHW_FAKEPORTABLEMEDIAPLAYER_H