mmsharinguis_plat/live_comms_plugin_api/inc/lcengine.inl
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 CLCENGINE_INL
       
    19 #define CLCENGINE_INL
       
    20 
       
    21 // INCLUDES
       
    22 #include <ecom/ecom.h>
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 CLcEngine* CLcEngine::NewL( const TDesC8& aEngineName )
       
    29     {
       
    30     TEComResolverParams resolverParams;
       
    31     resolverParams.SetDataType( aEngineName );      
       
    32     return reinterpret_cast< CLcEngine* >(
       
    33         REComSession::CreateImplementationL(
       
    34             KLcEngineInterfaceUid,
       
    35             _FOFF( CLcEngine, iInstanceKey ),
       
    36             resolverParams ) );
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 CLcEngine::CLcEngine()
       
    44     {
       
    45     }
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 CLcEngine::~CLcEngine()
       
    52     {
       
    53     REComSession::DestroyedImplementation( iInstanceKey );
       
    54     }
       
    55 
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 // -----------------------------------------------------------------------------
       
    59 //    
       
    60 TBool CLcEngine::IsFeatureSupported( TLcFeature /*aLcFeature*/ )
       
    61     {
       
    62     return EFalse;
       
    63     }
       
    64 
       
    65 #endif // CLCENGINE_INL
       
    66 
       
    67 // End of File