summaryrefslogtreecommitdiffstats
path: root/vlcwrapper/VLCVideoWidget.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-12-03 06:49:51 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2009-12-03 06:49:51 -0500
commit16ba8c002702d033bb7ec4959e58bb7fb4d4ae99 (patch)
tree4e3ceb50eca46ac5e9a752da2cc5fbada39d994a /vlcwrapper/VLCVideoWidget.h
parentSmarter attachment of WinId. (diff)
downloadEmbeddedBrowserPrototype-master.tar.xz
EmbeddedBrowserPrototype-master.zip
QImage snapshot.HEADmaster
Diffstat (limited to 'vlcwrapper/VLCVideoWidget.h')
-rw-r--r--vlcwrapper/VLCVideoWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vlcwrapper/VLCVideoWidget.h b/vlcwrapper/VLCVideoWidget.h
index a270a17..c25f2c8 100644
--- a/vlcwrapper/VLCVideoWidget.h
+++ b/vlcwrapper/VLCVideoWidget.h
@@ -2,6 +2,7 @@
#define VLCVIDEOWIDGET_H
#include <QFrame>
+#include <QImage>
#include <vlc/vlc.h>
class VLCVideoWidget : public QFrame
@@ -28,6 +29,9 @@ public:
bool canPause() const;
bool hasVideoOut() const;
virtual QSize sizeHint() const;
+ int width() const;
+ int height() const;
+ QImage currentFrameImage() const;
public slots:
bool setSource(const QString &source);
bool play();