diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-17 15:02:58 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-17 15:02:58 (GMT) |
commit | 427c415d876d57042a55e8b66730888512ac0ed1 (patch) | |
tree | 0bc694626ccd2229941ee73a31f7e048b714ed1e /src/3rdparty/phonon/mmf/mediaobject.h | |
parent | c82bcc8a3bf2ab64db9ccbe7b8ec7ca1208e2edc (diff) | |
download | Qt-427c415d876d57042a55e8b66730888512ac0ed1.zip Qt-427c415d876d57042a55e8b66730888512ac0ed1.tar.gz Qt-427c415d876d57042a55e8b66730888512ac0ed1.tar.bz2 |
Added recognizer code to determine if file is audio or video
Diffstat (limited to 'src/3rdparty/phonon/mmf/mediaobject.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/mediaobject.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/mediaobject.h b/src/3rdparty/phonon/mmf/mediaobject.h index f17580e..af9bae2 100644 --- a/src/3rdparty/phonon/mmf/mediaobject.h +++ b/src/3rdparty/phonon/mmf/mediaobject.h @@ -40,6 +40,9 @@ typedef CMdaAudioPlayerUtility CPlayerType; typedef MMdaAudioPlayerCallback MPlayerObserverType; #endif +// For recognizer +#include <apgcli.h> + namespace Phonon { namespace MMF @@ -149,6 +152,13 @@ namespace Phonon */ void changeState(PrivateState newState); + RApaLsSession m_recognizer; + RFs m_fileServer; + enum MediaType { MediaTypeUnknown, MediaTypeAudio, MediaTypeVideo }; + MediaType mimeTypeToMediaType(const TDesC& mimeType); + MediaType fileMediaType(const QString& fileName); + // TODO: urlMediaType function + /** * Using CPlayerType typedef in order to be able to easily switch between * CMdaAudioPlayerUtility and CDrmPlayerUtility |