calendarui/controller/inc/calensettingsstate.h
changeset 0 f979ecb2b13e
child 29 12af337248b1
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Calendar state machine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALENSETTINGSSTATE_H
       
    21 #define CALENSETTINGSSTATE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "calenstate.h"
       
    26 
       
    27 // CLASS DEFINITIONS
       
    28 /**
       
    29 * Calendar settings state
       
    30 */
       
    31 class CCalenSettingsState : public CCalenState
       
    32     {
       
    33     public:
       
    34         static CCalenSettingsState* NewLC( CCalenController& aController,
       
    35                                                     RHashSet<TCalenNotification>&aOutstandingNotifications );
       
    36         ~CCalenSettingsState();
       
    37         
       
    38     public:
       
    39         // From CCalenState
       
    40         TBool HandleCommandL( const TCalenCommand& aCommand,
       
    41                              CCalenStateMachine& aStateMachine );
       
    42         void HandleNotificationL(const TCalenNotification& aNotification,
       
    43                                   CCalenStateMachine& aStateMachine ); 
       
    44         
       
    45         void HandleStateActivationL();
       
    46 
       
    47     private:
       
    48         CCalenSettingsState( CCalenController& aController,
       
    49                                     RHashSet<TCalenNotification>& aOutstandingNotifications );
       
    50         void ConstructL();
       
    51     };
       
    52 
       
    53 
       
    54 #endif // CALENSETTINGSSTATE_H
       
    55 
       
    56 // end of file