mmsharing/mmshui/src/musuilivesharingcontroller.cpp
branchRCL_3
changeset 18 0da2e08216b6
parent 11 ff8a573c0e2e
child 19 95754dcd27ad
--- a/mmsharing/mmshui/src/musuilivesharingcontroller.cpp	Tue Apr 27 16:34:06 2010 +0300
+++ b/mmsharing/mmshui/src/musuilivesharingcontroller.cpp	Tue May 11 16:10:30 2010 +0300
@@ -158,7 +158,6 @@
          PauseL();
          EnableDisplayL(false);
          EnableDisplayL(true);
-         User::After( interval );
          PlayL();
          } 
      else
@@ -929,7 +928,38 @@
     }
 
 
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CMusUiLiveSharingController::AsyncRefreshView()
+    {
+    TRAP_IGNORE( iCallbackService->AsyncEventL( EMusUiAsyncRefreshView ) );
+    }
 
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CMusUiLiveSharingController::HandleAsyncEventL( TMusUiAsyncEvent aEventId )
+    {
+    MUS_LOG( "mus: [MUSUI ]  -> CMusUiLiveSharingController::HandleAsyncEventL" );
+    switch ( aEventId )
+        {
+        case EMusUiAsyncRefreshView:
+            {
+            iLiveObserver.DoRefreshView();
+            break;
+            }
+        default:
+            {
+            // Not live sharing specific, let the base class handle
+            CMusUiSendController::HandleAsyncEventL( aEventId );
+            }
+        }
+    MUS_LOG( "mus: [MUSUI ]  <- CMusUiLiveSharingController::HandleAsyncEventL" );
+    
+    }
 
 
 // End of file