File indexing completed on 2024-05-26 04:05:35
0001 /* 0002 SPDX-FileCopyrightText: 2010 Kevin Ottens <ervin@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef SOLID_BACKENDS_UDEV_CAMERA_H 0008 #define SOLID_BACKENDS_UDEV_CAMERA_H 0009 0010 #include "udevdeviceinterface.h" 0011 #include <solid/devices/ifaces/camera.h> 0012 0013 namespace Solid 0014 { 0015 namespace Backends 0016 { 0017 namespace UDev 0018 { 0019 class Camera : public DeviceInterface, virtual public Solid::Ifaces::Camera 0020 { 0021 Q_OBJECT 0022 Q_INTERFACES(Solid::Ifaces::Camera) 0023 0024 public: 0025 Camera(UDevDevice *device); 0026 ~Camera() override; 0027 0028 QStringList supportedProtocols() const override; 0029 QStringList supportedDrivers(QString protocol = QString()) const override; 0030 QVariant driverHandle(const QString &driver) const override; 0031 }; 0032 } 0033 } 0034 } 0035 0036 #endif