calendarui/controller/src/calenexitingstate.cpp
changeset 0 f979ecb2b13e
child 18 c198609911f9
child 65 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 // includes
       
    21 #include "calenexitingstate.h"
       
    22 #include "calendarui_debug.h"           // Debug macros
       
    23 #include "calencontroller.h"
       
    24 #include "calenstatemachine.h"
       
    25 #include "calennotifier.h"
       
    26 
       
    27 // ----------------------------------------------------------------------------
       
    28 // CCalenExitingState::NewLC
       
    29 // First stage construction
       
    30 // ----------------------------------------------------------------------------
       
    31 CCalenExitingState* CCalenExitingState::NewLC( CCalenController& aController,
       
    32                                                        RHashSet<TCalenNotification>&  aOutstandingNotifications )
       
    33     {
       
    34     TRACE_ENTRY_POINT;
       
    35 
       
    36     CCalenExitingState* self = new ( ELeave ) CCalenExitingState( aController,aOutstandingNotifications);
       
    37     CleanupStack::PushL( self );
       
    38     self->ConstructL();
       
    39 
       
    40     TRACE_EXIT_POINT;
       
    41     return self;
       
    42     }
       
    43 
       
    44 // ----------------------------------------------------------------------------
       
    45 // CCalenExitingState::ConstructL
       
    46 // Second stage construction
       
    47 // ----------------------------------------------------------------------------
       
    48 void CCalenExitingState::ConstructL()
       
    49     {
       
    50     TRACE_ENTRY_POINT;
       
    51     BaseConstructL();
       
    52     
       
    53     TRACE_EXIT_POINT;
       
    54     }
       
    55     
       
    56 // ----------------------------------------------------------------------------
       
    57 // CCalenExitingState::CCalenExitingState
       
    58 // C++ Constructor
       
    59 // ----------------------------------------------------------------------------
       
    60 CCalenExitingState::CCalenExitingState( CCalenController& aController,
       
    61                                                     RHashSet<TCalenNotification>&  aOutstandingNotifications )
       
    62     : CCalenState( aController, aOutstandingNotifications )
       
    63     {
       
    64     TRACE_ENTRY_POINT;
       
    65     
       
    66     TRACE_EXIT_POINT;
       
    67     }
       
    68     
       
    69 // ----------------------------------------------------------------------------
       
    70 // CCalenExitingState::CCalenExitingState
       
    71 // Destructor
       
    72 // ----------------------------------------------------------------------------    
       
    73 CCalenExitingState::~CCalenExitingState()
       
    74     {
       
    75     TRACE_ENTRY_POINT;
       
    76     
       
    77     TRACE_EXIT_POINT;
       
    78     }
       
    79 
       
    80 // ----------------------------------------------------------------------------
       
    81 // CCalenExitingState::HandleCommandL
       
    82 // From CCalenState
       
    83 // ----------------------------------------------------------------------------    
       
    84 TBool CCalenExitingState::HandleCommandL( const TCalenCommand& /*aCommand*/,
       
    85                                         CCalenStateMachine& /*aStateMachine*/  )
       
    86     {
       
    87     TRACE_ENTRY_POINT;
       
    88     TRACE_EXIT_POINT;
       
    89     return EFalse;
       
    90     }
       
    91 
       
    92 // ----------------------------------------------------------------------------
       
    93 // CCalenExitingState::HandleNotificationL
       
    94 // From CCalenState
       
    95 // ----------------------------------------------------------------------------        
       
    96 void CCalenExitingState::HandleNotificationL(const TCalenNotification& /*aNotification*/,
       
    97                                               CCalenStateMachine& /*aStateMachine*/ )
       
    98     {
       
    99     TRACE_ENTRY_POINT;
       
   100     TRACE_EXIT_POINT;
       
   101     }  
       
   102 
       
   103 
       
   104  // end of file