--- a/videoplayerapp/mpxvideoplayer/src/mpxvideoplayerappuiengine.cpp Tue May 25 12:44:54 2010 +0300
+++ b/videoplayerapp/mpxvideoplayer/src/mpxvideoplayerappuiengine.cpp Wed Jun 09 09:44:23 2010 +0300
@@ -15,7 +15,8 @@
*
*/
-// Version : %version: e92_71 %
+
+// Version : %version: da1mmcf#72 %
#include <eikon.hrh>
@@ -907,7 +908,7 @@
// -----------------------------------------------------------------------------
-//
+//
// -----------------------------------------------------------------------------
//
void CMpxVideoPlayerAppUiEngine::HandleSoftKeyBackL()
@@ -930,7 +931,7 @@
}
// -----------------------------------------------------------------------------
-//
+//
// -----------------------------------------------------------------------------
//
TBool CMpxVideoPlayerAppUiEngine::ProcessCommandParametersL( TApaCommand aCommand,
@@ -964,7 +965,7 @@
}
// -----------------------------------------------------------------------------
-//
+//
// -----------------------------------------------------------------------------
//
void CMpxVideoPlayerAppUiEngine::ActivateExitActiveObject()
@@ -1119,19 +1120,19 @@
}
// -------------------------------------------------------------------------------------------------
-// CMpxVideoPlayerAppUiEngine::SignalViewPdlReloadingL()
+// CMpxVideoPlayerAppUiEngine::SendMessageToPdlViewL()
// -------------------------------------------------------------------------------------------------
//
-void CMpxVideoPlayerAppUiEngine::SignalViewPdlReloadingL()
+void CMpxVideoPlayerAppUiEngine::SendMessageToPdlViewL( TInt aMsg )
{
- MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::SignalViewPdlReloadingL"));
+ MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::SendMessageToPdlViewL"));
if ( iViewUtility->ActiveViewType() == TUid::Uid( KMpxPlaybackPluginTypeUid ) )
{
//
// The display window must be removed before closing the playback plugin
//
- iAppUi->View()->HandleCommandL( KMpxVideoPlaybackPdlReloading );
+ iAppUi->View()->HandleCommandL( aMsg );
}
}
@@ -1142,13 +1143,13 @@
void CMpxVideoPlayerAppUiEngine::ActivateLateConstructTimerL()
{
MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::ActivateLateConstructTimerL()"));
-
+
if ( !iConstructTimer )
{
const TTimeIntervalMicroSeconds32 timeout = 250000; // 250 ms
-
+
TCallBack callback ( CMpxVideoPlayerAppUiEngine::LateConstructCallback, this );
-
+
iConstructTimer = CPeriodic::NewL( CActive::EPriorityIdle );
iConstructTimer->Start( timeout, 0, callback );
@@ -1162,9 +1163,9 @@
TInt CMpxVideoPlayerAppUiEngine::LateConstructCallback( TAny* aPtr )
{
MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::LateConstructCallback()"));
-
+
TRAP_IGNORE( static_cast<CMpxVideoPlayerAppUiEngine*>(aPtr)->DoLateConstructL() );
-
+
return KErrNone;
}
@@ -1176,8 +1177,8 @@
{
MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::DoLateConstructL()"));
- iConstructTimer->Cancel();
-
+ iConstructTimer->Cancel();
+
PlaybackUtilityL();
}