1/*
2 SPDX-FileCopyrightText: 2006 Kevin Ottens <ervin@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_FAKEHW_FAKECAMERA_H
8#define SOLID_BACKENDS_FAKEHW_FAKECAMERA_H
9
10#include "fakedeviceinterface.h"
11#include <solid/devices/ifaces/camera.h>
12
13namespace Solid
14{
15namespace Backends
16{
17namespace Fake
18{
19class FakeCamera : public FakeDeviceInterface, virtual public Solid::Ifaces::Camera
20{
21 Q_OBJECT
22 Q_INTERFACES(Solid::Ifaces::Camera)
23
24public:
25 explicit FakeCamera(FakeDevice *device);
26 ~FakeCamera() override;
27
28public Q_SLOTS:
29 QStringList supportedProtocols() const override;
30 QStringList supportedDrivers(QString protocol) const override;
31 QVariant driverHandle(const QString &driver) const override;
32};
33}
34}
35}
36
37#endif // SOLID_BACKENDS_FAKEHW_FAKECAMERA_H
38

source code of solid/src/solid/devices/backends/fakehw/fakecamera.h