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