networkcontrol/qoslib/inc/qoslib_glob.inl
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2003-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 
       
    18 /**
       
    19  @internalComponent
       
    20 */
       
    21 #ifndef __QOSLIB_GLOB_INL__
       
    22 #define __QOSLIB_GLOB_INL__
       
    23 
       
    24 inline CQoSParameters& CChannel::GetPolicy()
       
    25 	{ return iPolicy; }
       
    26 
       
    27 inline TUint CChannel::Capabilities() const
       
    28 	{ return iCapabilities; }
       
    29 
       
    30 inline TInt CChannel::ChannelId() const
       
    31 	{ return iChannelId; };
       
    32 
       
    33 inline RSocket& CQoSMan::Socket()
       
    34 	{ return iSocket; }
       
    35 
       
    36 inline const TCheckedUid& CQoSMan::Uid() const
       
    37 	{ return iUid; }
       
    38 
       
    39 inline void CQoSMan::Open()
       
    40 	{ iRefCount++; }
       
    41 
       
    42 inline void QoSManGlobals::Set(CQoSMan* aGlobals)
       
    43 	{ Dll::SetTls(aGlobals); }
       
    44 
       
    45 inline CQoSMan* QoSManGlobals::Get()
       
    46 	{ CQoSMan* manager=(CQoSMan *)Dll::Tls(); return manager; }
       
    47 
       
    48 #endif