devencdiskutils/DevEncStarter/inc/DevEncStarterEngine.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Predefined contacts engine (state machine)
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DEVENCSTARTERENGINE_H_
       
    20 #define DEVENCSTARTERENGINE_H_
       
    21 
       
    22 #include <e32std.h>						
       
    23 #include <e32base.h>
       
    24 #include <e32property.h>
       
    25 
       
    26 class CDevEncStarterUtils;
       
    27 class CDevEncStarterMmcObserver;
       
    28 
       
    29 NONSHARABLE_CLASS( CDevEncStarterEngine ): public CActive
       
    30     {
       
    31     public:
       
    32 	/**
       
    33 	    * Symbian 1st phase constructor
       
    34 	    * @return Self pointer to CPdcEngine pushed to
       
    35 	    * the cleanup stack.
       
    36 	    */
       
    37 	    static CDevEncStarterEngine* NewLC();
       
    38 
       
    39 	    /**
       
    40 	    * Destructor.
       
    41 	    */
       
    42 	    virtual ~CDevEncStarterEngine();
       
    43 	
       
    44     private: // C++ constructor and the Symbian second-phase constructor
       
    45         CDevEncStarterEngine();
       
    46         void ConstructL();
       
    47 	    
       
    48     private: // From CActive
       
    49         void DoCancel();
       
    50     	void RunL();
       
    51     	
       
    52     private:
       
    53     	CDevEncStarterUtils* iUtils; // owned
       
    54     	CDevEncStarterMmcObserver* iMmcObserver; // owned
       
    55     	RProperty iProperty;
       
    56     };
       
    57 
       
    58 #endif /* DEVENCSTARTERENGINE_H_ */