Solid

imobileportablemediaplayer.h
1/*
2 SPDX-FileCopyrightText: 2010 Rafael Fernández López <ereslibre@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 SOLID_BACKENDS_IMOBILE_IMOBILEPORTABLEMEDIAPLAYER_H
8#define SOLID_BACKENDS_IMOBILE_IMOBILEPORTABLEMEDIAPLAYER_H
9
10#include <solid/devices/ifaces/portablemediaplayer.h>
11
12#include <QStringList>
13
14#include "imobiledeviceinterface.h"
15
16namespace Solid
17{
18namespace Backends
19{
20namespace IMobile
21{
22class IMobileDevice;
23
24class PortableMediaPlayer : public DeviceInterface, virtual public Solid::Ifaces::PortableMediaPlayer
25{
28
29public:
30 PortableMediaPlayer(IMobileDevice *device);
31 ~PortableMediaPlayer() override;
32
33 QStringList supportedProtocols() const override;
34 QStringList supportedDrivers(QString protocol = QString()) const override;
35 QVariant driverHandle(const QString &driver) const override;
36};
37
38} // namespace IMobile
39} // namespace Backends
40} // namespace Solid
41
42#endif // SOLID_BACKENDS_IMOBILE_IMOBILEPORTABLEMEDIAPLAYER_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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:47:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.