summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videoplayer.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-08-18 17:30:53 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-08-18 17:30:53 (GMT)
commit109e04933e4e6b51a3e546f9dc3f0a062eb8470e (patch)
tree7f1ad5fd88e065bff031d3ebcda8c49409057d0b /src/3rdparty/phonon/mmf/videoplayer.h
parent62e9750e4055808f5eb04479b2f0c221e13747ff (diff)
downloadQt-109e04933e4e6b51a3e546f9dc3f0a062eb8470e.zip
Qt-109e04933e4e6b51a3e546f9dc3f0a062eb8470e.tar.gz
Qt-109e04933e4e6b51a3e546f9dc3f0a062eb8470e.tar.bz2
Started work on VideoPlayer implementation
Diffstat (limited to 'src/3rdparty/phonon/mmf/videoplayer.h')
-rw-r--r--src/3rdparty/phonon/mmf/videoplayer.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/3rdparty/phonon/mmf/videoplayer.h b/src/3rdparty/phonon/mmf/videoplayer.h
index 65133c2..a10bee3 100644
--- a/src/3rdparty/phonon/mmf/videoplayer.h
+++ b/src/3rdparty/phonon/mmf/videoplayer.h
@@ -19,30 +19,24 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#ifndef PHONON_MMF_VIDEOPLAYER_H
#define PHONON_MMF_VIDEOPLAYER_H
-/* We use the extra qualification include/ to avoid picking up the include
- * Phonon has. */
#include <include/videoplayer.h>
-#include "abstractmediaplayer.h"
-#include <Phonon/MediaSource>
+#include "abstractmediaplayer.h"
-class CDrmPlayerUtility;
-class TTimeIntervalMicroSeconds;
-class QTimer;
+class CVideoPlayerUtility;
namespace Phonon
{
namespace MMF
{
- class AudioOutput;
-
/**
*
* See
* <a href="http://wiki.forum.nokia.com/index.php/How_to_play_a_video_file_using_CVideoPlayerUtility">How to
* play a video file using CVideoPlayerUtility</a>
*/
- class VideoPlayer : public AbstractMediaPlayer
+ class VideoPlayer : public AbstractMediaPlayer
+ , public MVideoPlayerUtilityObserver
{
Q_OBJECT
public:
@@ -62,11 +56,21 @@ namespace Phonon
virtual qint64 currentTime() const;
virtual qint64 totalTime() const;
+ // MVideoPlayerUtilityObserver
+ virtual void MvpuoOpenComplete(TInt aError);
+ virtual void MvpuoPrepareComplete(TInt aError);
+ virtual void MvpuoFrameReady(CFbsBitmap &aFrame, TInt aError);
+ virtual void MvpuoPlayComplete(TInt aError);
+ virtual void MvpuoEvent(const TMMFEvent &aEvent);
+
Q_SIGNALS:
void totalTimeChanged();
void stateChanged(Phonon::State oldState,
Phonon::State newState);
void finished();
+
+ private:
+ CVideoPlayerUtility* m_player;
};
}