mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
33 lines
415 B
C
33 lines
415 B
C
|
#pragma once
|
||
|
|
||
|
// QT includes
|
||
|
#include <QObject>
|
||
|
#include <QTimer>
|
||
|
|
||
|
// Forward class declaration
|
||
|
class ImageProcessor;
|
||
|
class DispmanxFrameGrabber;
|
||
|
|
||
|
class DispmanxWrapper: public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
DispmanxWrapper();
|
||
|
|
||
|
virtual ~DispmanxWrapper();
|
||
|
|
||
|
public slots:
|
||
|
void start();
|
||
|
|
||
|
void action();
|
||
|
|
||
|
void stop();
|
||
|
|
||
|
private:
|
||
|
QTimer _timer;
|
||
|
|
||
|
DispmanxFrameGrabber* _frameGrabber;
|
||
|
ImageProcessor* _processor;
|
||
|
};
|
||
|
|