Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.h b/noncore/multimedia/opieplayer2/mediaplayer.h index c4d38b5..7b79066 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.h +++ b/noncore/multimedia/opieplayer2/mediaplayer.h | |||
@@ -1,21 +1,22 @@ | |||
1 | 1 | ||
2 | #ifndef MEDIA_PLAYER_H | 2 | #ifndef MEDIA_PLAYER_H |
3 | #define MEDIA_PLAYER_H | 3 | #define MEDIA_PLAYER_H |
4 | 4 | ||
5 | #include <qmainwindow.h> | 5 | #include <qmainwindow.h> |
6 | #include <qframe.h> | 6 | #include <qframe.h> |
7 | #include <qpe/qlibrary.h> | 7 | #include <qpe/qlibrary.h> |
8 | #include <qpe/mediaplayerplugininterface.h> | 8 | #include <qpe/mediaplayerplugininterface.h> |
9 | 9 | ||
10 | #include "xinecontrol.h" | ||
10 | 11 | ||
11 | class DocLnk; | 12 | class DocLnk; |
12 | 13 | ||
13 | 14 | ||
14 | class MediaPlayer : public QObject { | 15 | class MediaPlayer : public QObject { |
15 | Q_OBJECT | 16 | Q_OBJECT |
16 | public: | 17 | public: |
17 | MediaPlayer( QObject *parent, const char *name ); | 18 | MediaPlayer( QObject *parent, const char *name ); |
18 | ~MediaPlayer(); | 19 | ~MediaPlayer(); |
19 | 20 | ||
20 | private slots: | 21 | private slots: |
21 | void setPlaying( bool ); | 22 | void setPlaying( bool ); |
@@ -27,17 +28,19 @@ private slots: | |||
27 | void startDecreasingVolume(); | 28 | void startDecreasingVolume(); |
28 | void stopChangingVolume(); | 29 | void stopChangingVolume(); |
29 | void cleanUp(); | 30 | void cleanUp(); |
30 | 31 | ||
31 | protected: | 32 | protected: |
32 | void timerEvent( QTimerEvent *e ); | 33 | void timerEvent( QTimerEvent *e ); |
33 | void keyReleaseEvent( QKeyEvent *e); | 34 | void keyReleaseEvent( QKeyEvent *e); |
34 | void doBlank(); | 35 | void doBlank(); |
35 | void doUnblank(); | 36 | void doUnblank(); |
36 | private: | 37 | private: |
37 | int volumeDirection; | 38 | int volumeDirection; |
38 | const DocLnk *currentFile; | 39 | const DocLnk *currentFile; |
40 | XineControl *xineControl; | ||
41 | |||
39 | }; | 42 | }; |
40 | 43 | ||
41 | 44 | ||
42 | #endif // MEDIA_PLAYER_H | 45 | #endif // MEDIA_PLAYER_H |
43 | 46 | ||