alarmui/inc/alarmutils.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 29 12af337248b1
--- a/alarmui/inc/alarmutils.h	Tue Aug 31 15:13:43 2010 +0300
+++ b/alarmui/inc/alarmutils.h	Wed Sep 01 12:32:31 2010 +0100
@@ -35,8 +35,6 @@
 #include <caltime.h>
 #include <calprogresscallback.h>
 
-#include "alarmcommon.h"
-
 // FORWARD DECLARATIONS
 
 class CCalSession;
@@ -51,7 +49,6 @@
 class MProfileEngine;
 class CNotifierDialogController;
 class CAknAlarmService;
-class AlarmAlert;
 
 // CLASS DECLARATION
 
@@ -71,7 +68,6 @@
         {
         EAlarmTypeClock = 0,
         EAlarmTypeCalendar,
-        EAlarmTypeTodo,
         EAlarmTypeOther
         };
 
@@ -244,8 +240,7 @@
     * @since S60 3.2
     * @return Pointer to CNotifierDialogController.
     */
-    // CNotifierDialogController* NotifierDialogController();
-    AlarmAlert *NotifierDialogController();
+    CNotifierDialogController* NotifierDialogController();
 
     /**
     * Stop the active alarm and reset the snooze count.
@@ -265,7 +260,11 @@
     * @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
@@ -481,13 +480,6 @@
 	* @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:
 
@@ -638,8 +630,7 @@
     * Pointer to global note API.
     * Not own.
     */
-    // CNotifierDialogController* iNotifierDialogController;
-    AlarmAlert* iAlarmAlert;
+    CNotifierDialogController* iNotifierDialogController;
 
     /**
     * Plays alarm tones according to user settings.