alarmui/inc/alarmutils.h
branchRCL_3
changeset 29 12af337248b1
parent 18 d68a4b5d5885
child 30 bd7edf625bdd
--- a/alarmui/inc/alarmutils.h	Thu Aug 19 09:53:43 2010 +0300
+++ b/alarmui/inc/alarmutils.h	Tue Aug 31 15:13:43 2010 +0300
@@ -35,6 +35,8 @@
 #include <caltime.h>
 #include <calprogresscallback.h>
 
+#include "alarmcommon.h"
+
 // FORWARD DECLARATIONS
 
 class CCalSession;
@@ -49,6 +51,7 @@
 class MProfileEngine;
 class CNotifierDialogController;
 class CAknAlarmService;
+class AlarmAlert;
 
 // CLASS DECLARATION
 
@@ -68,6 +71,7 @@
         {
         EAlarmTypeClock = 0,
         EAlarmTypeCalendar,
+        EAlarmTypeTodo,
         EAlarmTypeOther
         };
 
@@ -240,7 +244,8 @@
     * @since S60 3.2
     * @return Pointer to CNotifierDialogController.
     */
-    CNotifierDialogController* NotifierDialogController();
+    // CNotifierDialogController* NotifierDialogController();
+    AlarmAlert *NotifierDialogController();
 
     /**
     * Stop the active alarm and reset the snooze count.
@@ -260,11 +265,7 @@
     * @since S60 3.2
     **/
     void DoSnooze();
-    /**
-    * Silence the active alarm.
-    * @since tb9.2
-    **/
-    void DoSilence();    
+
     /**
     * Checks if this alarm can be shown in "alarm" or in "charging" state.
     * @since S60 3.2
@@ -480,6 +481,13 @@
 	* @return ETrue if viewer is open.
     */
     TBool IsCalendarAlarmViewer();
+    
+    /**
+     * @brief Gets the alarm information for the alarm that is
+     * about to expire
+     * @return The alarm information 
+     */
+    SAlarmInfo* GetAlarmInfo();
 
 private:
 
@@ -630,7 +638,8 @@
     * Pointer to global note API.
     * Not own.
     */
-    CNotifierDialogController* iNotifierDialogController;
+    // CNotifierDialogController* iNotifierDialogController;
+    AlarmAlert* iAlarmAlert;
 
     /**
     * Plays alarm tones according to user settings.