summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayer.h
authorsimon <simon>2002-12-11 14:25:49 (UTC)
committer simon <simon>2002-12-11 14:25:49 (UTC)
commit7a17954c26add31f28b69989f54e0f28a17c8949 (patch) (unidiff)
tree8603026771be07c996f49a29375fda64c8cd0e67 /noncore/multimedia/opieplayer2/mediaplayer.h
parent16138f0cdf46994d20ade71b5621b82fb9386933 (diff)
downloadopie-7a17954c26add31f28b69989f54e0f28a17c8949.zip
opie-7a17954c26add31f28b69989f54e0f28a17c8949.tar.gz
opie-7a17954c26add31f28b69989f54e0f28a17c8949.tar.bz2
- roll back the threaded xine initialization, the mediaplayer initialization
state and the PlayButton change set - instead load the audio-/video widget and the xine control on-demand. much faster and much simpler for startup
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.h b/noncore/multimedia/opieplayer2/mediaplayer.h
index 6b316f6..5975731 100644
--- a/noncore/multimedia/opieplayer2/mediaplayer.h
+++ b/noncore/multimedia/opieplayer2/mediaplayer.h
@@ -56,3 +56,2 @@ public:
56public slots: 56public slots:
57 void recreateAudioAndVideoWidgets();
58 void reloadSkins(); 57 void reloadSkins();
@@ -74,3 +73,7 @@ protected:
74 void keyReleaseEvent( QKeyEvent *e); 73 void keyReleaseEvent( QKeyEvent *e);
74
75private: 75private:
76 AudioWidget *audioUI() const;
77 VideoWidget *videoUI() const;
78 XineControl *xineControl() const;
76 79
@@ -79,3 +82,2 @@ private:
79 int volumeDirection; 82 int volumeDirection;
80 XineControl *xineControl;
81 VolumeControl *volControl; 83 VolumeControl *volControl;
@@ -83,4 +85,8 @@ private:
83 PlayListWidget &playList; 85 PlayListWidget &playList;
84 AudioWidget *audioUI; 86
85 VideoWidget *videoUI; 87 void recreateAudioAndVideoWidgets() const;
88
89 mutable XineControl *m_xineControl;
90 mutable AudioWidget *m_audioUI;
91 mutable VideoWidget *m_videoUI;
86}; 92};