contextframework/cfw/inc/cfserver/cfphaseloadingplugins.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 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:  CFPhaseLoadingPlugins class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CFPHASELOADINGPLUGINS_H
       
    21 #define C_CFPHASELOADINGPLUGINS_H
       
    22 
       
    23 #include "cfphasebase.h"
       
    24 
       
    25 
       
    26 /**
       
    27  *  CF starter phase loading plugins.
       
    28  *  In this phase context source and action plugins are loaded.
       
    29  *
       
    30  *  @lib -
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 NONSHARABLE_CLASS( CCFPhaseLoadingPlugins ):
       
    34     public CCFPhaseBase
       
    35     {
       
    36     public:
       
    37     
       
    38         /**
       
    39          * Two-phased constructor.
       
    40          * @param aCF Interface for contexts         
       
    41          */
       
    42         static CCFPhaseLoadingPlugins* NewL( MCFContextInterface& aCF );
       
    43         
       
    44         /**
       
    45          * Two-phased constructor.
       
    46          * @param aCF Interface for contexts         
       
    47          */
       
    48         static CCFPhaseLoadingPlugins* NewLC( MCFContextInterface& aCF );
       
    49     
       
    50         /**
       
    51          * Destructor.
       
    52          */
       
    53         ~CCFPhaseLoadingPlugins();
       
    54         
       
    55     private: // From base classes
       
    56         
       
    57         // @see CCFPhaseBase        
       
    58         void ExecuteL( TRequestStatus* aStatus );
       
    59 
       
    60         // @see CCFPhaseBase        
       
    61         TCFPhaseId NextPhase() const;                
       
    62         
       
    63     private:
       
    64     
       
    65         // Completes request if it is ready
       
    66         void DoComplete();
       
    67 
       
    68     private:
       
    69     
       
    70         CCFPhaseLoadingPlugins( MCFContextInterface& aCF );
       
    71         void ConstructL();
       
    72         
       
    73     private: // Data          
       
    74     };
       
    75 
       
    76 #endif // C_CFPHASELOADINGPLUGINS_H