meetingrequest/mrgui/inc/cesmrannivtimevalidator.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
--- a/meetingrequest/mrgui/inc/cesmrannivtimevalidator.h	Mon Mar 15 12:39:10 2010 +0200
+++ b/meetingrequest/mrgui/inc/cesmrannivtimevalidator.h	Wed Mar 31 21:08:33 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -29,6 +29,7 @@
 class MESMRCalEntry;
 class CEikTimeEditor;
 class CEikDateEditor;
+class MMRAbsoluteAlarmController;
 
 /**
  * Wrapper class handles sanity checks for date/time fields on Anniversary
@@ -75,8 +76,10 @@
             CEikTimeEditor& aAlarmTime );
     void SetAlarmDateFieldL(
             CEikDateEditor& aAlarmDate );
-     void SetRecurrenceUntilDateFieldL(
-                CEikDateEditor& aRecurrenceUntil );
+    void SetRecurrenceUntilDateFieldL(
+            CEikDateEditor& aRecurrenceUntil );
+    void SetAbsoluteAlarmOnOffFieldL( 
+         MMRAbsoluteAlarmController& aAbsoluteAlarmController ); 
     void StartTimeChangedL();
     void EndTimeChangedL();
     void StartDateChandedL();
@@ -105,6 +108,7 @@
     TDateTime StartTimeL();
     TDateTime AlarmTimeL();
     void ForceValuesL();
+    TBool IsModifiedL( MESMRCalEntry& aEntry );
 
 private:
     /// Ref: Start date editor.
@@ -121,6 +125,14 @@
     TBool iAlarmOnOff;
     /// Ref: Entry being handled
     MESMRCalEntry* iEntry;
+    /// Own: Saves initial alarm time, for later comparisons
+    TTime iInitialAlarmTime;
+    /// Own: Saves initial alarm date, for later comparisons
+    TTime iInitialAlarmDate;
+    /// Own: Saves initial alarm on off, for later comparisons
+    TBool iInitialAlarmOnOff;
+    /// Own: Saves initial due date, for later comparisons
+    TTime iInitialStartDate;
     };
 
 #endif  // CESMRANNIVTIMEVALIDATOR_H