meetingrequest/mrgui/inc/mesmrfieldvalidator.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    25 
    25 
    26 class MESMRCalEntry;
    26 class MESMRCalEntry;
    27 class CEikTimeEditor;
    27 class CEikTimeEditor;
    28 class CEikDateEditor;
    28 class CEikDateEditor;
    29 class MESMRFieldEventQueue;
    29 class MESMRFieldEventQueue;
       
    30 class MMRAbsoluteAlarmController;
    30 
    31 
    31 /**
    32 /**
    32  * MESMRFieldValidator defines interface for field validation.
    33  * MESMRFieldValidator defines interface for field validation.
    33  * Validators check input values and adjust field values to
    34  * Validators check input values and adjust field values to
    34  * correctly.
    35  * correctly.
    59         /** Alarm occurs too much in past*/
    60         /** Alarm occurs too much in past*/
    60         EErrorAlarmTooMuchInPast,
    61         EErrorAlarmTooMuchInPast,
    61         /** Relative alarm occurs in past */
    62         /** Relative alarm occurs in past */
    62         EErrorRelativeAlarmInPast,
    63         EErrorRelativeAlarmInPast,
    63         /** Reschedule instance to same day with another instance */
    64         /** Reschedule instance to same day with another instance */
    64         EErrorRescheduleInstance
    65         EErrorRescheduleInstance,
       
    66         /** The errors be used to validate the time of one edited intance of seires*/
       
    67         EErrorInstanceOverlapsExistingOne,
       
    68         EErrorInstanceAlreadyExistsOnThisDay,
       
    69         EErrorInstanceOutOfSequence
    65         };
    70         };
    66 
    71 
    67 public:
    72 public:
    68     /**
    73     /**
    69      * Virtual destructor.
    74      * Virtual destructor.
   136      * @param aAlarmDate Reference to alarm date field.
   141      * @param aAlarmDate Reference to alarm date field.
   137      */
   142      */
   138     virtual void SetAlarmDateFieldL(
   143     virtual void SetAlarmDateFieldL(
   139             CEikDateEditor& aAlarmDate ) = 0;
   144             CEikDateEditor& aAlarmDate ) = 0;
   140 
   145 
       
   146     /**
       
   147      * Sets absolute alarm on off field.
       
   148      * @param aAbsoluteAlarmOnOff Reference to interface to handle absolute 
       
   149      * alarm on-off setting.
       
   150      */
       
   151     virtual void SetAbsoluteAlarmOnOffFieldL( 
       
   152             MMRAbsoluteAlarmController& aAbsoluteAlarmController ) = 0;
       
   153     
   141     /**
   154     /**
   142      * Sets alarm date field.
   155      * Sets alarm date field.
   143      * @param aAlarmDate Reference to alarm date field.
   156      * @param aAlarmDate Reference to alarm date field.
   144      */
   157      */
   145     virtual void SetRecurrenceUntilDateFieldL(
   158     virtual void SetRecurrenceUntilDateFieldL(