--- a/browserutilities/schemehandler/SchemeDispatcher/src/MmsHandler.cpp Wed Mar 31 23:16:40 2010 +0300
+++ b/browserutilities/schemehandler/SchemeDispatcher/src/MmsHandler.cpp Wed Apr 14 17:06:56 2010 +0300
@@ -30,11 +30,13 @@
#include <eikproc.h>
#include <f32file.h>
#include <AknLaunchAppService.h>
-
+#ifdef __S60_32__
+LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E };
+#else
+#include <videoplayeruid.hrh>
+#endif
// ================= CONSTANTS =======================
-LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E };
-
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
@@ -127,9 +129,13 @@
paramList->AppendL(*iParamList);
}
-
+#ifdef __S60_32__
iLaunchAppService =
CAknLaunchAppService::NewL( KUidMediaPlayer, this, paramList );
+#else
+ iLaunchAppService =
+ CAknLaunchAppService::NewL( TUid::Uid(KVideoPlayerUID), this, paramList );
+#endif
iSync = ETrue;
iWait.Start();
CleanupStack::PopAndDestroy( paramList );
@@ -148,9 +154,11 @@
RApaLsSession appArcSession;
User::LeaveIfError( appArcSession.Connect() );
TThreadId id;
-
- appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
-
+#ifdef __S60_32__
+ appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
+#else
+ appArcSession.StartDocument( iParsedUrl->Des(), TUid::Uid(KVideoPlayerUID) , id );
+#endif
appArcSession.Close();
CLOG_LEAVEFN( "CMmsHandler::HandleUrlStandaloneL()" );
@@ -180,3 +188,4 @@
CLOG_LEAVEFN( "CMmsHandler::HandleServerAppExit" );
}
+