Diffstat (limited to 'core/multimedia/opieplayer/mediaplayerstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/mediaplayerstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerstate.h b/core/multimedia/opieplayer/mediaplayerstate.h index 26185c5..1c65599 100644 --- a/core/multimedia/opieplayer/mediaplayerstate.h +++ b/core/multimedia/opieplayer/mediaplayerstate.h | |||
@@ -24,24 +24,25 @@ | |||
24 | #include <qobject.h> | 24 | #include <qobject.h> |
25 | 25 | ||
26 | 26 | ||
27 | class MediaPlayerDecoder; | 27 | class MediaPlayerDecoder; |
28 | class Config; | 28 | class Config; |
29 | 29 | ||
30 | 30 | ||
31 | class MediaPlayerState : public QObject { | 31 | class MediaPlayerState : public QObject { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | public: | 33 | public: |
34 | MediaPlayerState( QObject *parent, const char *name ); | 34 | MediaPlayerState( QObject *parent, const char *name ); |
35 | ~MediaPlayerState(); | 35 | ~MediaPlayerState(); |
36 | bool isPaused; | ||
36 | 37 | ||
37 | bool isStreaming; | 38 | bool isStreaming; |
38 | bool fullscreen() { return isFullscreen; } | 39 | bool fullscreen() { return isFullscreen; } |
39 | bool scaled() { return isScaled; } | 40 | bool scaled() { return isScaled; } |
40 | bool looping() { return isLooping; } | 41 | bool looping() { return isLooping; } |
41 | bool shuffled() { return isShuffled; } | 42 | bool shuffled() { return isShuffled; } |
42 | bool playlist() { return usePlaylist; } | 43 | bool playlist() { return usePlaylist; } |
43 | bool paused() { return isPaused; } | 44 | bool paused() { return isPaused; } |
44 | bool playing() { return isPlaying; } | 45 | bool playing() { return isPlaying; } |
45 | long position() { return curPosition; } | 46 | long position() { return curPosition; } |
46 | long length() { return curLength; } | 47 | long length() { return curLength; } |
47 | char view() { return curView; } | 48 | char view() { return curView; } |
@@ -92,25 +93,24 @@ signals: | |||
92 | void lengthChanged( long ); | 93 | void lengthChanged( long ); |
93 | void viewChanged( char ); | 94 | void viewChanged( char ); |
94 | 95 | ||
95 | void prev(); | 96 | void prev(); |
96 | void next(); | 97 | void next(); |
97 | 98 | ||
98 | private: | 99 | private: |
99 | bool isFullscreen; | 100 | bool isFullscreen; |
100 | bool isScaled; | 101 | bool isScaled; |
101 | bool isLooping; | 102 | bool isLooping; |
102 | bool isShuffled; | 103 | bool isShuffled; |
103 | bool usePlaylist; | 104 | bool usePlaylist; |
104 | bool isPaused; | ||
105 | bool isPlaying; | 105 | bool isPlaying; |
106 | long curPosition; | 106 | long curPosition; |
107 | long curLength; | 107 | long curLength; |
108 | char curView; | 108 | char curView; |
109 | 109 | ||
110 | MediaPlayerDecoder *decoder; | 110 | MediaPlayerDecoder *decoder; |
111 | MediaPlayerDecoder *libmpeg3decoder; | 111 | MediaPlayerDecoder *libmpeg3decoder; |
112 | // MediaPlayerDecoder *libwavdecoder; | 112 | // MediaPlayerDecoder *libwavdecoder; |
113 | 113 | ||
114 | void loadPlugins(); | 114 | void loadPlugins(); |
115 | void readConfig( Config& cfg ); | 115 | void readConfig( Config& cfg ); |
116 | void writeConfig( Config& cfg ) const; | 116 | void writeConfig( Config& cfg ) const; |