author | simon <simon> | 2002-12-02 20:36:40 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 20:36:40 (UTC) |
commit | 0090a335a7162f4b0d34f78850ebf9a8bd544c01 (patch) (unidiff) | |
tree | aedbe7cbf4f30bb72dd4ded98f128227694de4b9 /noncore/multimedia/opieplayer2/xinecontrol.h | |
parent | 6cd1494f86f2f60614c9b9a7b959666dec2500ee (diff) | |
download | opie-0090a335a7162f4b0d34f78850ebf9a8bd544c01.zip opie-0090a335a7162f4b0d34f78850ebf9a8bd544c01.tar.gz opie-0090a335a7162f4b0d34f78850ebf9a8bd544c01.tar.bz2 |
- removed last traces of mediaPlayerState singleton. yay :)
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h index b1300a8..00486f2 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.h +++ b/noncore/multimedia/opieplayer2/xinecontrol.h | |||
@@ -37,10 +37,12 @@ | |||
37 | #include "lib.h" | 37 | #include "lib.h" |
38 | #include <qobject.h> | 38 | #include <qobject.h> |
39 | 39 | ||
40 | #include "mediaplayerstate.h" | ||
41 | |||
40 | class XineControl : public QObject { | 42 | class XineControl : public QObject { |
41 | Q_OBJECT | 43 | Q_OBJECT |
42 | public: | 44 | public: |
43 | XineControl( QObject *parent = 0, const char *name =0 ); | 45 | XineControl( MediaPlayerState &_mediaPlayerState, QObject *parent = 0, const char *name =0 ); |
44 | ~XineControl(); | 46 | ~XineControl(); |
45 | 47 | ||
46 | bool hasVideo() const { return hasVideoChannel; } | 48 | bool hasVideo() const { return hasVideoChannel; } |
@@ -106,6 +108,7 @@ private: | |||
106 | bool disabledSuspendScreenSaver : 1; | 108 | bool disabledSuspendScreenSaver : 1; |
107 | bool hasVideoChannel : 1; | 109 | bool hasVideoChannel : 1; |
108 | bool hasAudioChannel : 1; | 110 | bool hasAudioChannel : 1; |
111 | MediaPlayerState &mediaPlayerState; | ||
109 | 112 | ||
110 | signals: | 113 | signals: |
111 | void positionChanged( long ); | 114 | void positionChanged( long ); |