equal
deleted
inserted
replaced
33 #include <starterclient.h> |
33 #include <starterclient.h> |
34 #include <calentry.h> |
34 #include <calentry.h> |
35 #include <caltime.h> |
35 #include <caltime.h> |
36 #include <calprogresscallback.h> |
36 #include <calprogresscallback.h> |
37 |
37 |
|
38 #include "alarmcommon.h" |
|
39 |
38 // FORWARD DECLARATIONS |
40 // FORWARD DECLARATIONS |
39 |
41 |
40 class CCalSession; |
42 class CCalSession; |
41 class CCalEntryView; |
43 class CCalEntryView; |
42 class CAlmAlarmControl; |
44 class CAlmAlarmControl; |
47 class CAlarmContextFwSupport; |
49 class CAlarmContextFwSupport; |
48 #endif // RD_ALMALERT__SENSOR_SUPPORT |
50 #endif // RD_ALMALERT__SENSOR_SUPPORT |
49 class MProfileEngine; |
51 class MProfileEngine; |
50 class CNotifierDialogController; |
52 class CNotifierDialogController; |
51 class CAknAlarmService; |
53 class CAknAlarmService; |
|
54 class AlarmAlert; |
52 |
55 |
53 // CLASS DECLARATION |
56 // CLASS DECLARATION |
54 |
57 |
55 /** |
58 /** |
56 * ?description |
59 * ?description |
238 /** |
241 /** |
239 * ?description |
242 * ?description |
240 * @since S60 3.2 |
243 * @since S60 3.2 |
241 * @return Pointer to CNotifierDialogController. |
244 * @return Pointer to CNotifierDialogController. |
242 */ |
245 */ |
243 CNotifierDialogController* NotifierDialogController(); |
246 // CNotifierDialogController* NotifierDialogController(); |
|
247 AlarmAlert *NotifierDialogController(); |
244 |
248 |
245 /** |
249 /** |
246 * Stop the active alarm and reset the snooze count. |
250 * Stop the active alarm and reset the snooze count. |
247 * @since S60 3.2 |
251 * @since S60 3.2 |
248 **/ |
252 **/ |
474 /** |
478 /** |
475 * Get the status whether, calendar viewer is open or not |
479 * Get the status whether, calendar viewer is open or not |
476 * @return ETrue if viewer is open. |
480 * @return ETrue if viewer is open. |
477 */ |
481 */ |
478 TBool IsCalendarAlarmViewer(); |
482 TBool IsCalendarAlarmViewer(); |
|
483 |
|
484 /** |
|
485 * @brief Gets the alarm information for the alarm that is |
|
486 * about to expire |
|
487 * @return The alarm information |
|
488 */ |
|
489 SAlarmInfo* GetAlarmInfo(); |
479 |
490 |
480 private: |
491 private: |
481 |
492 |
482 /** |
493 /** |
483 * Read alarm sound filenames from CenRep. |
494 * Read alarm sound filenames from CenRep. |
624 |
635 |
625 /** |
636 /** |
626 * Pointer to global note API. |
637 * Pointer to global note API. |
627 * Not own. |
638 * Not own. |
628 */ |
639 */ |
629 CNotifierDialogController* iNotifierDialogController; |
640 // CNotifierDialogController* iNotifierDialogController; |
|
641 AlarmAlert* iAlarmAlert; |
630 |
642 |
631 /** |
643 /** |
632 * Plays alarm tones according to user settings. |
644 * Plays alarm tones according to user settings. |
633 * Own. |
645 * Own. |
634 */ |
646 */ |