contextframework/cfw/inc/cfserver/cfphasecfwready.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2007-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:  CCFPhaseCfwReady class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CFPHASECFWREADY_H
       
    20 #define C_CFPHASECFWREADY_H
       
    21 
       
    22 #include "cfphasebase.h"
       
    23 
       
    24 /**
       
    25 * CF starter phase.
       
    26 * This phase is run completed when Context Framework
       
    27 * has fully started and initialized.
       
    28 * Main functionality is to publish a context which
       
    29 * can be utilized in scripts.
       
    30 *
       
    31 * @since S60 5.0
       
    32 * @lib -
       
    33 */
       
    34 NONSHARABLE_CLASS( CCFPhaseCfwReady ): public CCFPhaseBase
       
    35     {
       
    36     public:
       
    37     
       
    38         // Two phased constructors
       
    39         static CCFPhaseCfwReady* NewL( MCFContextInterface& aCF );
       
    40         static CCFPhaseCfwReady* NewLC( MCFContextInterface& aCF );
       
    41     
       
    42         // C++ destructor
       
    43         ~CCFPhaseCfwReady();
       
    44         
       
    45     private: // Implementation specific
       
    46         
       
    47         // @see CCFPhaseBase        
       
    48         void ExecuteL( TRequestStatus* aStatus );
       
    49         
       
    50         // @see CCFPhaseBase        
       
    51         TCFPhaseId NextPhase() const;
       
    52         
       
    53     private:
       
    54     
       
    55         CCFPhaseCfwReady( MCFContextInterface& aCF );
       
    56         void ConstructL();
       
    57     };
       
    58 
       
    59 #endif