summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayer.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.h b/noncore/multimedia/opieplayer2/mediaplayer.h
index 351c884..cbe4d86 100644
--- a/noncore/multimedia/opieplayer2/mediaplayer.h
+++ b/noncore/multimedia/opieplayer2/mediaplayer.h
@@ -39,24 +39,29 @@
39 39
40#include "xinecontrol.h" 40#include "xinecontrol.h"
41 41
42#include "playlistwidget.h" 42#include "playlistwidget.h"
43#include "skin.h" 43#include "skin.h"
44 44
45class DocLnk; 45class DocLnk;
46class VolumeControl; 46class VolumeControl;
47class MediaPlayerState; 47class MediaPlayerState;
48class AudioWidget; 48class AudioWidget;
49class VideoWidget; 49class VideoWidget;
50 50
51namespace XINE
52{
53 class Lib;
54};
55
51class MediaPlayer : public QObject { 56class MediaPlayer : public QObject {
52 Q_OBJECT 57 Q_OBJECT
53public: 58public:
54 MediaPlayer( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QObject *parent, const char *name ); 59 MediaPlayer( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QObject *parent, const char *name );
55 ~MediaPlayer(); 60 ~MediaPlayer();
56 61
57public slots: 62public slots:
58 void reloadSkins(); 63 void reloadSkins();
59 64
60private slots: 65private slots:
61 void setPlaying( bool ); 66 void setPlaying( bool );
62 void pauseCheck( bool ); 67 void pauseCheck( bool );
@@ -81,19 +86,20 @@ private:
81 bool isBlanked, l, r; 86 bool isBlanked, l, r;
82 int fd, fl; 87 int fd, fl;
83 int volumeDirection; 88 int volumeDirection;
84 VolumeControl *volControl; 89 VolumeControl *volControl;
85 MediaPlayerState &mediaPlayerState; 90 MediaPlayerState &mediaPlayerState;
86 PlayListWidget &playList; 91 PlayListWidget &playList;
87 92
88 void recreateAudioAndVideoWidgets() const; 93 void recreateAudioAndVideoWidgets() const;
89 94
90 mutable XineControl *m_xineControl; 95 mutable XineControl *m_xineControl;
91 mutable AudioWidget *m_audioUI; 96 mutable AudioWidget *m_audioUI;
92 mutable VideoWidget *m_videoUI; 97 mutable VideoWidget *m_videoUI;
98 mutable XINE::Lib *xine;
93 99
94 QGuardedPtr<SkinLoader> m_skinLoader; 100 QGuardedPtr<SkinLoader> m_skinLoader;
95}; 101};
96 102
97 103
98#endif // MEDIA_PLAYER_H 104#endif // MEDIA_PLAYER_H
99 105