Solid
camera.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 #ifndef SOLID_CAMERA_H
00021 #define SOLID_CAMERA_H
00022
00023 #include <solid/solid_export.h>
00024
00025 #include <solid/deviceinterface.h>
00026
00027 #include <QtCore/QStringList>
00028 #include <QtCore/QVariant>
00029
00030 namespace Solid
00031 {
00032 class CameraPrivate;
00033 class Device;
00034
00045 class SOLID_EXPORT Camera : public DeviceInterface
00046 {
00047 Q_OBJECT
00048 Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
00049 Q_PROPERTY(QStringList supportedDrivers READ supportedDrivers)
00050 Q_DECLARE_PRIVATE(Camera)
00051 friend class Device;
00052
00053 private:
00062 explicit Camera(QObject *backendObject);
00063
00064 public:
00068 virtual ~Camera();
00069
00070
00077 static Type deviceInterfaceType() { return DeviceInterface::Camera; }
00078
00079
00080
00087 QStringList supportedProtocols() const;
00088
00097 QStringList supportedDrivers(QString protocol = QString()) const;
00098
00107 QVariant driverHandle(const QString &driver) const;
00108 };
00109 }
00110
00111 #endif