calendarui/views/src/calennativeview.cpp
branchRCL_3
changeset 31 97232defd20e
parent 30 bd7edf625bdd
equal deleted inserted replaced
30:bd7edf625bdd 31:97232defd20e
   706     notificationArray.Append(ECalenNotifyDeleteInstanceView);
   706     notificationArray.Append(ECalenNotifyDeleteInstanceView);
   707     notificationArray.Append(ECalenNotifyStopAlarm);
   707     notificationArray.Append(ECalenNotifyStopAlarm);
   708 	notificationArray.Append(ECalenNotifyDeleteFailed);
   708 	notificationArray.Append(ECalenNotifyDeleteFailed);
   709 	notificationArray.Append(ECalenNotifyEntryDeleted);
   709 	notificationArray.Append(ECalenNotifyEntryDeleted);
   710 	notificationArray.Append(ECalenNotifyResourceChanged);
   710 	notificationArray.Append(ECalenNotifyResourceChanged);
   711 	notificationArray.Append(ECalenNotifyEventViewLaunchedFromAlarm);
   711 	notificationArray.Append(ECalenNotifyCalenLaunchedFromExtApp);
       
   712 	
   712 	
   713 	
   713     iServices.RegisterForNotificationsL( this,notificationArray);
   714     iServices.RegisterForNotificationsL( this,notificationArray);
   714     
   715     
   715     notificationArray.Reset();
   716     notificationArray.Reset();
   716     
   717     
  1077         case ECalenNotifySystemTimeChanged:
  1078         case ECalenNotifySystemTimeChanged:
  1078             {
  1079             {
  1079             PIM_TRAPD_HANDLE( OnLocaleChangedL( EChangesSystemTime ) );
  1080             PIM_TRAPD_HANDLE( OnLocaleChangedL( EChangesSystemTime ) );
  1080             }
  1081             }
  1081             break;
  1082             break;
  1082         case ECalenNotifyEventViewLaunchedFromAlarm:
  1083         case ECalenNotifyCalenLaunchedFromExtApp:
  1083             {
  1084             {
  1084             SetTapIgnore(ETrue);
  1085             SetTapIgnore(ETrue);
  1085             }
  1086             }
  1086             break;
  1087             break;
  1087         case ECalenNotifyEntryClosed:
  1088         case ECalenNotifyEntryClosed:
  1359     
  1360     
  1360     TRACE_EXIT_POINT;
  1361     TRACE_EXIT_POINT;
  1361     }
  1362     }
  1362 
  1363 
  1363 // ----------------------------------------------------------------------------
  1364 // ----------------------------------------------------------------------------
  1364 // CCalenNativeView::IsEventViewLaunchedFromAlarm
  1365 // CCalenNativeView::IsCalenLaunchedFromExtApp
  1365 // other details are commented in the header
  1366 // other details are commented in the header
  1366 // ----------------------------------------------------------------------------
  1367 // ----------------------------------------------------------------------------
  1367 // 
  1368 // 
  1368 TBool CCalenNativeView::IsEventViewLaunchedFromAlarm()
  1369 TBool CCalenNativeView::IsCalenLaunchedFromExtApp()
  1369     {
  1370     {
  1370     TRACE_ENTRY_POINT;
  1371     TRACE_ENTRY_POINT;
  1371     return iIgnoreTap;
  1372     return iIgnoreTap;
  1372     TRACE_EXIT_POINT;
  1373     TRACE_EXIT_POINT;
  1373     }
  1374     }