summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/mediaplayerstate.h
Unidiff
Diffstat (limited to 'core/multimedia/opieplayer/mediaplayerstate.h') (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/mediaplayerstate.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/mediaplayerstate.h b/core/multimedia/opieplayer/mediaplayerstate.h
index e82c263..ad273f1 100644
--- a/core/multimedia/opieplayer/mediaplayerstate.h
+++ b/core/multimedia/opieplayer/mediaplayerstate.h
@@ -1,10 +1,10 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of the Qtopia Environment. 4** This file is part of 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**
@@ -17,12 +17,13 @@
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
23#include <qobject.h> 24#include <qobject.h>
24 25
25 26
26class MediaPlayerDecoder; 27class MediaPlayerDecoder;
27class Config; 28class Config;
28 29
@@ -30,12 +31,13 @@ class Config;
30class MediaPlayerState : public QObject { 31class MediaPlayerState : public QObject {
31Q_OBJECT 32Q_OBJECT
32public: 33public:
33 MediaPlayerState( QObject *parent, const char *name ); 34 MediaPlayerState( QObject *parent, const char *name );
34 ~MediaPlayerState(); 35 ~MediaPlayerState();
35 36
37
36 bool fullscreen() { return isFullscreen; } 38 bool fullscreen() { return isFullscreen; }
37 bool scaled() { return isScaled; } 39 bool scaled() { return isScaled; }
38 bool looping() { return isLooping; } 40 bool looping() { return isLooping; }
39 bool shuffled() { return isShuffled; } 41 bool shuffled() { return isShuffled; }
40 bool playlist() { return usePlaylist; } 42 bool playlist() { return usePlaylist; }
41 bool paused() { return isPaused; } 43 bool paused() { return isPaused; }
@@ -102,12 +104,13 @@ private:
102 long curPosition; 104 long curPosition;
103 long curLength; 105 long curLength;
104 char curView; 106 char curView;
105 107
106 MediaPlayerDecoder *decoder; 108 MediaPlayerDecoder *decoder;
107 MediaPlayerDecoder *libmpeg3decoder; 109 MediaPlayerDecoder *libmpeg3decoder;
110// MediaPlayerDecoder *libwavdecoder;
108 111
109 void loadPlugins(); 112 void loadPlugins();
110 void readConfig( Config& cfg ); 113 void readConfig( Config& cfg );
111 void writeConfig( Config& cfg ) const; 114 void writeConfig( Config& cfg ) const;
112}; 115};
113 116