contextframework/cfw/inc/cfserver/cfphasedevicestarting.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2006-2008 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:  CFPhaseDeviceStarting class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CFPHASEDEVICESTARTING_H
       
    20 #define C_CFPHASEDEVICESTARTING_H
       
    21 
       
    22 #include "cfphasebase.h"
       
    23 
       
    24 /**
       
    25 * CF starter phase device starting.
       
    26 * This phase is run right after context framework server has been
       
    27 * started.
       
    28 *
       
    29 * @since S60 4.0
       
    30 * @lib -
       
    31 */
       
    32 NONSHARABLE_CLASS( CCFPhaseDeviceStarting ): public CCFPhaseBase
       
    33     {
       
    34     public:
       
    35     
       
    36         // Two phased constructors
       
    37         static CCFPhaseDeviceStarting* NewL( MCFContextInterface& aCF );
       
    38         static CCFPhaseDeviceStarting* NewLC( MCFContextInterface& aCF );
       
    39     
       
    40         // C++ destructor
       
    41         ~CCFPhaseDeviceStarting();
       
    42         
       
    43     private: // Implementation specific
       
    44         
       
    45         // @see CCFPhaseBase        
       
    46         void ExecuteL( TRequestStatus* aStatus );
       
    47         
       
    48         // @see CCFPhaseBase        
       
    49         TCFPhaseId NextPhase() const;
       
    50         
       
    51     private:
       
    52     
       
    53         CCFPhaseDeviceStarting( MCFContextInterface& aCF );
       
    54         void ConstructL();
       
    55     };
       
    56 
       
    57 #endif