calendarui/controller/src/calenmapstate.cpp
branchRCL_3
changeset 13 1984aceb8774
parent 0 f979ecb2b13e
equal deleted inserted replaced
11:0f07cd1b5772 13:1984aceb8774
    93      
    93      
    94     TBool cmdUsed = EFalse;
    94     TBool cmdUsed = EFalse;
    95     switch( cmd )
    95     switch( cmd )
    96     {
    96     {
    97     case ECalenFasterAppExit:
    97     case ECalenFasterAppExit:
    98 		{
    98     case ECalenDayView:    
    99 		// Issue map launch cancel notification
    99     case ECalenMissedEventViewFromIdle: 
   100 		iController.BroadcastNotification(ECalenNotifyCancelMapLaunch);
       
   101         SetCurrentState( aStateMachine, CCalenStateMachine::ECalenIdleState );
       
   102         ActivateCurrentStateL(aStateMachine);
       
   103         cmdUsed = ETrue;
       
   104         break;
       
   105    		}
       
   106     case ECalenMissedEventViewFromIdle:
       
   107         {
       
   108         // Issue map launch cancel notification
       
   109         iController.BroadcastNotification(ECalenNotifyCancelMapLaunch);
       
   110         SetCurrentState( aStateMachine, CCalenStateMachine::ECalenIdleState );
       
   111         ActivateCurrentStateL(aStateMachine);
       
   112         cmdUsed = ETrue;
       
   113         break;
       
   114         }
       
   115         
       
   116     case ECalenEventViewFromAlarm:
   100     case ECalenEventViewFromAlarm:
   117     case ECalenEventViewFromAlarmStopOnly:
   101     case ECalenEventViewFromAlarmStopOnly:
   118         {
   102         {
   119         // Issue map launch cancel notification
   103         // Issue map launch cancel notification
   120         iController.BroadcastNotification(ECalenNotifyCancelMapLaunch);
   104         iController.BroadcastNotification(ECalenNotifyCancelMapLaunch);