class QtCamGStreamerMessageListener;
class QtCamMetaData;
class QtCamCapability;
+class QtCamNotifications;
class QtCamDevice : public QObject {
Q_OBJECT
bool setViewfinder(QtCamViewfinder *viewfinder);
bool start();
- bool stop();
+ bool stop(bool force);
bool isRunning();
bool isIdle();
QtCamConfig *config() const;
QtCamGStreamerMessageListener *listener() const;
+ QtCamNotifications *notifications() const;
+
signals:
void error(const QString& message, int code, const QString& debug);
void started();
friend class QtCamMetaData;
friend class QtCamCapability;
friend class QtCamVideoTorch;
- friend class QtCamMute;
+ friend class QtCamVideoMute;
+ friend class QtCamAutoFocusPrivate;
QtCamDevicePrivate *d_ptr;
};