remotecontrol/remotecontrolfw/targetselectorplugin/src/bearersecurity.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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #include <remcon/bearersecurity.h>
       
    22 #include <bluetooth/logger.h>
       
    23 
       
    24 #ifdef __FLOG_ACTIVE
       
    25 _LIT8(KLogComponent, LOG_COMPONENT_REMCON_SERVER);
       
    26 #endif
       
    27 
       
    28 EXPORT_C TBearerSecurity::TBearerSecurity(TUid aUid, const TSecurityPolicy& aPolicy)
       
    29 :	iBearerUid(aUid),
       
    30 	iSecurityPolicy(aPolicy)
       
    31 	{
       
    32 	LOG_FUNC
       
    33 	}
       
    34 
       
    35 EXPORT_C TBearerSecurity::~TBearerSecurity()
       
    36 	{
       
    37 	LOG_FUNC
       
    38 	}
       
    39 
       
    40 EXPORT_C TUid TBearerSecurity::BearerUid() const
       
    41 	{
       
    42 	return iBearerUid;
       
    43 	}
       
    44 
       
    45 EXPORT_C const TSecurityPolicy& TBearerSecurity::SecurityPolicy() const
       
    46 	{
       
    47 	return iSecurityPolicy;
       
    48 	}