summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinecontrol.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h
index fdc5d2b..0e985d6 100644
--- a/noncore/multimedia/opieplayer2/xinecontrol.h
+++ b/noncore/multimedia/opieplayer2/xinecontrol.h
@@ -42,12 +42,17 @@
42class XineControl : public QObject { 42class XineControl : public QObject {
43 Q_OBJECT 43 Q_OBJECT
44public: 44public:
45 XineControl( XineVideoWidget *xineWidget, 45 XineControl( XineVideoWidget *xineWidget,
46 MediaPlayerState &_mediaPlayerState, 46 MediaPlayerState &_mediaPlayerState,
47 QObject *parent = 0, const char *name =0 ); 47 QObject *parent = 0, const char *name =0 );
48 // note that this constructor takes over ownership of the passed
49 // XINE::Lib object.
50 XineControl( XINE::Lib *xine, XineVideoWidget *xineWidget,
51 MediaPlayerState &_mediaPlayerState,
52 QObject *parent = 0, const char *name =0 );
48 ~XineControl(); 53 ~XineControl();
49 54
50 bool hasVideo() const { return hasVideoChannel; } 55 bool hasVideo() const { return hasVideoChannel; }
51 bool hasAudio() const { return hasAudioChannel; } 56 bool hasAudio() const { return hasAudioChannel; }
52 57
53public slots: 58public slots:
@@ -98,12 +103,14 @@ public slots:
98 * Set the gamma value of the video output 103 * Set the gamma value of the video output
99 * @param int value between -100 and 100, 0 is original 104 * @param int value between -100 and 100, 0 is original
100 */ 105 */
101 void setGamma( int ); 106 void setGamma( int );
102 107
103private: 108private:
109 void init();
110
104 XINE::Lib *libXine; 111 XINE::Lib *libXine;
105 long m_currentTime; 112 long m_currentTime;
106 long m_position; 113 long m_position;
107 int m_length; 114 int m_length;
108 QString m_fileName; 115 QString m_fileName;
109 bool disabledSuspendScreenSaver : 1; 116 bool disabledSuspendScreenSaver : 1;