summaryrefslogtreecommitdiffstats
path: root/vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base')
-rw-r--r--vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base66
1 files changed, 0 insertions, 66 deletions
diff --git a/vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base b/vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base
deleted file mode 100644
index 790e123..0000000
--- a/vlcwrapper/.svn/text-base/VLCVideoWidget.h.svn-base
+++ /dev/null
@@ -1,66 +0,0 @@
-#ifndef VLCVIDEOWIDGET_H
-#define VLCVIDEOWIDGET_H
-
-#include <QFrame>
-#include <vlc/vlc.h>
-
-class VLCVideoWidget : public QFrame
-{
- Q_OBJECT
-public:
- VLCVideoWidget(QWidget *parent = 0);
- ~VLCVideoWidget();
- QString source() const;
- qint64 length() const;
- qint64 time() const;
- float position() const;
- int chapter() const;
- int chapterCount() const;
- bool willPlay() const;
- int chapterCountForTitle(int title) const;
- int title() const;
- bool isPlaying() const;
- int titleCount() const;
- float fps() const;
- libvlc_state_t state() const;
- float rate() const;
- bool isSeekable() const;
- bool canPause() const;
- bool hasVideoOut() const;
- virtual QSize sizeHint() const;
-public slots:
- bool setSource(const QString &source);
- bool play();
- bool pause();
- bool stop();
- bool setTime(qint64 time);
- bool setPosition(float position);
- bool setChapter(int chapter);
- bool setTitle(int title);
- bool moveToPreviousChapter();
- bool moveToNextChapter();
- bool setRate(float rate);
-private:
- libvlc_media_player_t *m_mediaPlayer;
- libvlc_media_t *m_media;
- libvlc_event_manager_t *m_eventManager;
- static void vlcCallbacks(const libvlc_event_t* event, void* ptr);
-signals:
- void opening();
- void buffering();
- void playing();
- void paused();
- void stopped();
- void forward();
- void backward();
- void endReached();
- void error();
- void timeChanged();
- void positionChanged();
- void seekableChanged();
- void pausableChanged();
- void titleChanged();
- void snapshotTaken();
-};
-
-#endif // VLCVIDEOWIDGET_H