alarmui/inc/AlmAlarmControl.h
changeset 18 c198609911f9
parent 0 f979ecb2b13e
child 89 b57382753122
--- a/alarmui/inc/AlmAlarmControl.h	Tue Feb 02 10:12:19 2010 +0200
+++ b/alarmui/inc/AlmAlarmControl.h	Fri Apr 16 14:57:40 2010 +0300
@@ -30,15 +30,17 @@
 #include "pim_trace.h"
 #include "PropertyObserver.h"
 #include "AlmAlertVariant.hrh"
+#include "alarmalertobserver.h"
 
 #include <akndialogcontroller.h>
 #include <AlarmObserver.h>
 
-#include <missedalarmstore.h>
+// #include <missedalarmstore.h>
 
 // FORWARD DECLARATIONS
 class CAknAlarmService;
 class CAlarmUtils;
+class AlarmAlertWidget;
 
 // CLASS DECLARATION
 
@@ -52,7 +54,8 @@
 NONSHARABLE_CLASS( CAlmAlarmControl ) : public CCoeControl,
                                         public MEikServAlarm,
                                         public MPropertyChangeHandler,
-                                        public MNotifierDialogObserver
+                                        public MNotifierDialogObserver,
+                                        public AlarmAlertObserver
 {
  public: // Constructors and destructor
     /**
@@ -153,14 +156,6 @@
      */
     void StoreMissedAlarmDataL();
 
-    /**
-     * Checks for calendar type alarm needed to be stored as missed alarm 
-     *  Stops the alarm and enters to missed alarm table. If the calendar type
-     * is clock, then snoozes the alarm.
-     */
-
-    void StopOrSnoozeAlarm();
-
 public:  // from MEikServAlarm
     /**
      * From MEikServAlarm.
@@ -247,6 +242,12 @@
      * @param None
      */
     TBool IsStopFromContext();
+    
+public: // From AlarmAlertObserver
+    
+    void alertCompleted(AlarmCommand command);
+    void alertDisplayed(AlarmCommand command);
+    void alertCancelled(AlarmCommand command);
 
  private:  // From MPropertyChangeHandler
     /**