alarmui/src/alarmutils.cpp
changeset 83 5aadd1120515
parent 57 bb2d3e476f29
child 89 b57382753122
equal deleted inserted replaced
82:dcd0ca396fa1 83:5aadd1120515
   258 void CAlarmUtils::PlayAlarmSound()
   258 void CAlarmUtils::PlayAlarmSound()
   259     {
   259     {
   260     TRACE_ENTRY_POINT;
   260     TRACE_ENTRY_POINT;
   261     StopAlarmSound();
   261     StopAlarmSound();
   262     PIM_TRAPD_ASSERT( iAlarmPlayer = CAlmAlarmPlayer::NewL( this ); )
   262     PIM_TRAPD_ASSERT( iAlarmPlayer = CAlmAlarmPlayer::NewL( this ); )
   263     //SetBackLight( ETrue );
   263     SetBackLight( ETrue );
   264     TRACE_EXIT_POINT;
   264     TRACE_EXIT_POINT;
   265     }
   265     }
   266 
   266 
   267 // ---------------------------------------------------------
   267 // ---------------------------------------------------------
   268 // Stop the alarm player.
   268 // Stop the alarm player.
   279         PIM_TRAPD_ASSERT( iCFSupport->PublishAlarmResultL( EResultAlarmSilenced ); )
   279         PIM_TRAPD_ASSERT( iCFSupport->PublishAlarmResultL( EResultAlarmSilenced ); )
   280         }
   280         }
   281     #endif // RD_ALMALERT__SENSOR_SUPPORT
   281     #endif // RD_ALMALERT__SENSOR_SUPPORT
   282     delete iAlarmPlayer;
   282     delete iAlarmPlayer;
   283     iAlarmPlayer = NULL;
   283     iAlarmPlayer = NULL;
   284     //SetBackLight( EFalse );
   284     SetBackLight( EFalse );
   285     TRACE_EXIT_POINT;
   285     TRACE_EXIT_POINT;
   286     }
   286     }
   287 
   287 
   288 // ---------------------------------------------------------
   288 // ---------------------------------------------------------
   289 // Backlight on/off
   289 // Backlight on/off