diff options
Diffstat (limited to 'src-qt5/core/libLumina/LVideoSurface.h')
-rw-r--r-- | src-qt5/core/libLumina/LVideoSurface.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/LVideoSurface.h b/src-qt5/core/libLumina/LVideoSurface.h index 42a140d9..7a3dcaad 100644 --- a/src-qt5/core/libLumina/LVideoSurface.h +++ b/src-qt5/core/libLumina/LVideoSurface.h @@ -1,3 +1,6 @@ +#ifndef LVIDEOSURFACE_H +#define LVIDEOSURFACE_H + #include <QAbstractVideoSurface> #include <QVideoSurfaceFormat> #include <QPixmap> @@ -10,12 +13,14 @@ class LVideoSurface : public QAbstractVideoSurface { LVideoSurface(QObject *parent=0); virtual bool present(const QVideoFrame&); virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType) const; - /*virtual QList<QVidebool isFormatSupported(const QVideoSurfaceFormat &format) const; bool start(const QVideoSurfaceFormat &format); - void stop();*/ + void stop(); signals: void frameReceived(QPixmap); + public slots: + void switchRollOver(); private: QPixmap frameImage; - //QImage::Format imageFormat; + bool entered; }; +#endif |