equal
deleted
inserted
replaced
35 // AlarmAlertWidget::AlarmAlertWidget |
35 // AlarmAlertWidget::AlarmAlertWidget |
36 // rest of the details are commented in the header |
36 // rest of the details are commented in the header |
37 // --------------------------------------------------------- |
37 // --------------------------------------------------------- |
38 // |
38 // |
39 AlarmAlertWidget::AlarmAlertWidget(AlarmAlertObserver *observer) : |
39 AlarmAlertWidget::AlarmAlertWidget(AlarmAlertObserver *observer) : |
40 mObserver(observer) |
40 mObserver(observer), |
|
41 mDeviceDialog(NULL) |
41 { |
42 { |
42 OstTraceFunctionEntry0( ALARMALERTWIDGET_ALARMALERTWIDGET_ENTRY ); |
43 OstTraceFunctionEntry0( ALARMALERTWIDGET_ALARMALERTWIDGET_ENTRY ); |
43 OstTraceFunctionExit0( ALARMALERTWIDGET_ALARMALERTWIDGET_EXIT ); |
44 OstTraceFunctionExit0( ALARMALERTWIDGET_ALARMALERTWIDGET_EXIT ); |
44 } |
45 } |
45 |
46 |
183 // |
184 // |
184 void AlarmAlertWidget::dismissAlarmDialog() |
185 void AlarmAlertWidget::dismissAlarmDialog() |
185 { |
186 { |
186 OstTraceFunctionEntry0( ALARMALERTWIDGET_DISMISSALARMDIALOG_ENTRY ); |
187 OstTraceFunctionEntry0( ALARMALERTWIDGET_DISMISSALARMDIALOG_ENTRY ); |
187 // Dismiss the dialog |
188 // Dismiss the dialog |
188 mDeviceDialog->Cancel(); |
189 if(mDeviceDialog) { |
|
190 mDeviceDialog->Cancel(); |
|
191 } |
189 OstTraceFunctionExit0( ALARMALERTWIDGET_DISMISSALARMDIALOG_EXIT ); |
192 OstTraceFunctionExit0( ALARMALERTWIDGET_DISMISSALARMDIALOG_EXIT ); |
190 } |
193 } |
191 |
194 |
192 // --------------------------------------------------------- |
195 // --------------------------------------------------------- |
193 // AlarmAlertWidget::UpdateAlarmDialog |
196 // AlarmAlertWidget::UpdateAlarmDialog |