X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderer.h;h=74011cb25802e6b1948c6024bf84274950abdc6b;hb=623c7ac1fac4f52a39f102649d062cc900e470d6;hp=71319916f36f6fdab030905687d3952dab7b3443;hpb=e50dcd354dbd9ffce55fe650948a22f5810051f1;p=kdenlive diff --git a/src/renderer.h b/src/renderer.h index 71319916..74011cb2 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -29,6 +29,10 @@ #include #include +#ifdef Q_WS_MAC +#include "videoglwidget.h" +#endif + /**Render encapsulates the client side of the interface to a renderer. From Kdenlive's point of view, you treat the Render object as the @@ -205,6 +209,9 @@ Q_OBJECT public: const QList producersList(); void updatePreviewSettings(); void setDropFrames(bool show); +#ifdef Q_WS_MAC + void showFrame(Mlt::Frame&); +#endif private: // Private attributes & methods /** The name of this renderer - useful to identify the renderes by what they do - e.g. background rendering, workspace monitor, etc... */ @@ -232,6 +239,10 @@ private: // Private attributes & methods /** A human-readable description of this renderer. */ int m_winid; +#ifdef Q_WS_MAC + VideoGLWidget *m_glWidget; +#endif + /** Sets the description of this renderer to desc. */ void closeMlt(); void mltCheckLength(Mlt::Tractor *tractor); @@ -274,6 +285,8 @@ signals: // Signals void removeInvalidClip(const QString &, bool replaceProducer); void refreshDocumentProducers(); void blockMonitors(); + /** Used on OS X - emitted when a frame's image is to be shown. */ + void showImageSignal(QImage); public slots: // Public slots /** Start Consumer */