Sha256: 8b2a4606dc94cbdae15574913c4bbb68761f5f9b3ddd5b63103c65eab8821554
Contents?: true
Size: 611 Bytes
Versions: 9
Compression:
Stored size: 611 Bytes
Contents
#ifndef CAMERADIALOGCONTROLLER_H #define CAMERADIALOGCONTROLLER_H #include <QObject> #include <QDebug> #include <QMutex> #include <QMutexLocker> class CameraDialogController : public QObject { Q_OBJECT protected: volatile bool exists; QMutex mutex; public: explicit CameraDialogController(QObject *parent):QObject(parent){ exists = false; } virtual ~CameraDialogController(){ } volatile bool dialogExists(){return exists;} public slots: void setDialogExists(){exists = true;} void setDialogRejected(){exists = false;} }; #endif // CAMERADIALOGCONTROLLER_H
Version data entries
9 entries across 9 versions & 1 rubygems