diff -r 79859ed3eea9 -r 919f36ff910f browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp --- a/browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp Tue Aug 31 16:17:46 2010 +0300 +++ b/browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp Wed Sep 01 12:28:30 2010 +0100 @@ -17,9 +17,8 @@ * */ - // INCLUDE FILES - + #include "RtspHandler.h" #include "SchemeDispLogger.h" #include // For REComSession @@ -32,9 +31,13 @@ #include #include +#ifdef __S60_32__ +LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E }; +#else +#include +#endif // ================= CONSTANTS ======================= -LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E }; _LIT( KRtspFileName, "c:\\system\\temp\\RtspTemp.ram" ); // ================= MEMBER FUNCTIONS ======================= @@ -194,8 +197,11 @@ 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( "CRtspHandler::HandleUrlStandaloneL()" ); @@ -225,3 +231,4 @@ CLOG_LEAVEFN( "CRtspHandler::HandleServerAppExit" ); } +