Solid
portablemediaplayer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SOLID_PORTABLEMEDIAPLAYER_H
00023 #define SOLID_PORTABLEMEDIAPLAYER_H
00024
00025 #include <QtCore/QStringList>
00026 #include <QtCore/QVariant>
00027
00028 #include <solid/solid_export.h>
00029
00030 #include <solid/deviceinterface.h>
00031
00032 namespace Solid
00033 {
00034 class PortableMediaPlayerPrivate;
00035 class Device;
00036
00044 class SOLID_EXPORT PortableMediaPlayer : public DeviceInterface
00045 {
00046 Q_OBJECT
00047 Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
00048 Q_PROPERTY(QStringList supportedDrivers READ supportedDrivers)
00049 Q_DECLARE_PRIVATE(PortableMediaPlayer)
00050 friend class Device;
00051
00052 public:
00053
00054 private:
00063 explicit PortableMediaPlayer(QObject *backendObject);
00064
00065 public:
00069 virtual ~PortableMediaPlayer();
00070
00077 static Type deviceInterfaceType() { return DeviceInterface::PortableMediaPlayer; }
00078
00085 QStringList supportedProtocols() const;
00086
00095 QStringList supportedDrivers(QString protocol = QString()) const;
00096
00105 QVariant driverHandle(const QString &driver) const;
00106 };
00107 }
00108
00109 #endif