mmsharing/livecommsui/lcuiengine/tsrc/ut_lcuieng/lcstub/inc/lcenginestub.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LCENGINESTUB_H
       
    19 #define LCENGINESTUB_H
       
    20 
       
    21 
       
    22 extern void lcutStub_LcEngine_reset();
       
    23 extern void lcutStub_LcEngine_setFailure( int failure );
       
    24 extern int lcutStub_LcEngine_failure();
       
    25 extern void lcutStub_LcEngine_setLcFeatureSupported( bool supported );
       
    26 
       
    27 // INCLUDES
       
    28 #include "lcengine.h"
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CLcSession;
       
    32 class MLcUiProvider;
       
    33 
       
    34 class CLcEngineStub : public CLcEngine
       
    35     {
       
    36     public:
       
    37     
       
    38         static CLcEngineStub* NewL();
       
    39         ~CLcEngineStub();
       
    40     
       
    41     public: // From CLcEngine
       
    42     
       
    43         MLcSession& Session();
       
    44         
       
    45         TBool IsFeatureSupported( TLcFeature aLcFeature );
       
    46         
       
    47     private: // Constructors
       
    48 
       
    49         CLcEngineStub();
       
    50         void ConstructL();
       
    51        
       
    52     private: // New functions
       
    53         
       
    54         CLcSession* CreateMusSessionL( int aUseCase );
       
    55         
       
    56     public: // Data
       
    57         
       
    58         CLcSession* iSession;
       
    59     };
       
    60 #endif // LCENGINESTUB_H
       
    61 
       
    62 // end of file