browserutilities/schemehandler/SchemeDispatcher/src/MmsHandler.cpp
branchRCL_3
changeset 93 79859ed3eea9
parent 64 ac77f89b1d9e
child 94 919f36ff910f
--- a/browserutilities/schemehandler/SchemeDispatcher/src/MmsHandler.cpp	Thu Aug 19 10:58:56 2010 +0300
+++ b/browserutilities/schemehandler/SchemeDispatcher/src/MmsHandler.cpp	Tue Aug 31 16:17:46 2010 +0300
@@ -16,7 +16,8 @@
 *      
 *
 */
- 
+
+
 // INCLUDE FILES
 
 #include "MmsHandler.h"
@@ -30,12 +31,10 @@
 #include <eikproc.h>
 #include <f32file.h>
 #include <AknLaunchAppService.h>
-#ifdef __S60_32__
+
+// ================= CONSTANTS =======================
+
 LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E };
-#else
-#include <videoplayeruid.hrh>
-#endif
-// ================= CONSTANTS =======================
 
 // ================= MEMBER FUNCTIONS =======================
 
@@ -129,13 +128,9 @@
     	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 );   
@@ -154,11 +149,9 @@
 	RApaLsSession appArcSession;
 	User::LeaveIfError( appArcSession.Connect() );
 	TThreadId id;
-#ifdef __S60_32__
-    appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
-#else
-    appArcSession.StartDocument( iParsedUrl->Des(), TUid::Uid(KVideoPlayerUID) , id );
-#endif
+
+	appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
+
 	appArcSession.Close();
 
 	CLOG_LEAVEFN( "CMmsHandler::HandleUrlStandaloneL()" );
@@ -188,4 +181,3 @@
 	CLOG_LEAVEFN( "CMmsHandler::HandleServerAppExit" );	
 	}
 
-