Diffstat (limited to 'core/multimedia/opieplayer/mediaplayerstate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/mediaplayerstate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerstate.h b/core/multimedia/opieplayer/mediaplayerstate.h index 1a23742..e82c263 100644 --- a/core/multimedia/opieplayer/mediaplayerstate.h +++ b/core/multimedia/opieplayer/mediaplayerstate.h | |||
@@ -1,35 +1,34 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef MEDIA_PLAYER_STATE_H | 20 | #ifndef MEDIA_PLAYER_STATE_H |
21 | #define MEDIA_PLAYER_STATE_H | 21 | #define MEDIA_PLAYER_STATE_H |
22 | 22 | ||
23 | |||
24 | #include <qobject.h> | 23 | #include <qobject.h> |
25 | 24 | ||
26 | 25 | ||
27 | class MediaPlayerDecoder; | 26 | class MediaPlayerDecoder; |
28 | class Config; | 27 | class Config; |
29 | 28 | ||
30 | 29 | ||
31 | class MediaPlayerState : public QObject { | 30 | class MediaPlayerState : public QObject { |
32 | Q_OBJECT | 31 | Q_OBJECT |
33 | public: | 32 | public: |
34 | MediaPlayerState( QObject *parent, const char *name ); | 33 | MediaPlayerState( QObject *parent, const char *name ); |
35 | ~MediaPlayerState(); | 34 | ~MediaPlayerState(); |
@@ -97,22 +96,21 @@ private: | |||
97 | bool isScaled; | 96 | bool isScaled; |
98 | bool isLooping; | 97 | bool isLooping; |
99 | bool isShuffled; | 98 | bool isShuffled; |
100 | bool usePlaylist; | 99 | bool usePlaylist; |
101 | bool isPaused; | 100 | bool isPaused; |
102 | bool isPlaying; | 101 | bool isPlaying; |
103 | long curPosition; | 102 | long curPosition; |
104 | long curLength; | 103 | long curLength; |
105 | char curView; | 104 | char curView; |
106 | 105 | ||
107 | MediaPlayerDecoder *decoder; | 106 | MediaPlayerDecoder *decoder; |
108 | MediaPlayerDecoder *libmpeg3decoder; | 107 | MediaPlayerDecoder *libmpeg3decoder; |
109 | // MediaPlayerDecoder *libwavdecoder; | ||
110 | 108 | ||
111 | void loadPlugins(); | 109 | void loadPlugins(); |
112 | void readConfig( Config& cfg ); | 110 | void readConfig( Config& cfg ); |
113 | void writeConfig( Config& cfg ) const; | 111 | void writeConfig( Config& cfg ) const; |
114 | }; | 112 | }; |
115 | 113 | ||
116 | 114 | ||
117 | #endif // MEDIA_PLAYER_STATE_H | 115 | #endif // MEDIA_PLAYER_STATE_H |
118 | 116 | ||