remotecontrol/remotecontrolfw/converterplugin/src/remconconverterplugin.cpp
changeset 51 20ac952a623c
equal deleted inserted replaced
48:22de2e391156 51:20ac952a623c
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implementation of Rem Con bearer plugin.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #include <remcon/remconconverterplugin.h>
       
    24 #include <ecom/ecom.h>
       
    25 #include <bluetooth/logger.h>
       
    26 
       
    27 #ifdef __FLOG_ACTIVE
       
    28 _LIT8(KLogComponent, LOG_COMPONENT_REMCON_SERVER);
       
    29 #endif
       
    30 
       
    31 EXPORT_C CRemConConverterPlugin::~CRemConConverterPlugin()
       
    32 	{
       
    33 	LOG_FUNC
       
    34 	REComSession::DestroyedImplementation(iInstanceId);
       
    35 	}
       
    36 
       
    37 EXPORT_C CRemConConverterPlugin::CRemConConverterPlugin()
       
    38 	{
       
    39 	LOG_FUNC
       
    40 	}
       
    41 
       
    42 EXPORT_C CRemConConverterPlugin* CRemConConverterPlugin::NewL(TUid aImplementationId)
       
    43 	{
       
    44 	return reinterpret_cast<CRemConConverterPlugin*>(
       
    45 		REComSession::CreateImplementationL(
       
    46 			aImplementationId, 
       
    47 			_FOFF(CRemConConverterPlugin, iInstanceId))
       
    48 		);
       
    49 	}