calendarui/controller/inc/calenidlestate.h
changeset 0 f979ecb2b13e
child 18 c198609911f9
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 CALENIDLESTATE_H
       
    21 #define CALENIDLESTATE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "calenstate.h"
       
    26 
       
    27 // CLASS DEFINITIONS
       
    28 /**
       
    29 * Calendar Idle state
       
    30 */
       
    31 class CCalenIdleState : public CCalenState
       
    32     {
       
    33     public:
       
    34         static CCalenIdleState* NewLC( CCalenController& aController, 
       
    35                                                     RHashSet<TCalenNotification>&  aOutstandingNotifications );
       
    36         ~CCalenIdleState();
       
    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     private:
       
    46         CCalenIdleState( CCalenController& aController,  RHashSet<TCalenNotification>&  aOutstandingNotifications );
       
    47         void ConstructL();
       
    48     };
       
    49 
       
    50 #endif // CALENIDLESTATE_H
       
    51 
       
    52 // end of file