accessoryservices/remotecontrolfw/bearerplugin/src/bearerparams.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #include <remcon/bearerparams.h>
       
    22 #include <bluetooth/logger.h>
       
    23 
       
    24 #ifdef __FLOG_ACTIVE
       
    25 _LIT8(KLogComponent, LOG_COMPONENT_REMCON_SERVER);
       
    26 #endif
       
    27 
       
    28 EXPORT_C TBearerParams::TBearerParams(TUid aImplementationUid, MRemConBearerObserver& aObserver)
       
    29 :	iImplementationUid(aImplementationUid),
       
    30 	iObserver(aObserver)
       
    31 	{
       
    32 	LOG_FUNC
       
    33 	}
       
    34 
       
    35 EXPORT_C TBearerParams::~TBearerParams()
       
    36 	{
       
    37 	LOG_FUNC
       
    38 	}
       
    39 
       
    40 EXPORT_C TUid TBearerParams::ImplementationUid() const
       
    41 	{
       
    42 	return iImplementationUid;
       
    43 	}
       
    44 
       
    45 EXPORT_C MRemConBearerObserver& TBearerParams::Observer() const
       
    46 	{
       
    47 	return iObserver;
       
    48 	}