networkcontrol/qosfwconfig/qos/inc/flowhook.inl
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2006-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 __FLOWHOOK_INL__
       
    22 #define __FLOWHOOK_INL__
       
    23 
       
    24 inline void CFlowHook::SetUid(const TUidType& aUid)
       
    25 	{ iUid.Set(aUid); };
       
    26 
       
    27 inline const TCheckedUid& CFlowHook::Uid() const
       
    28 	{ return iUid; };
       
    29 
       
    30 inline TQoSPolicy& CFlowHook::Policies()
       
    31 	{ return iQoSPolicies; };
       
    32 
       
    33 inline CInterface* CFlowHook::Interface()
       
    34 	{ return iInterface; }
       
    35 
       
    36 inline CFlowContext& CFlowHook::Context()
       
    37 	{ return iContext; }
       
    38 
       
    39 inline CProtocolQoS& CFlowHook::Protocol()
       
    40 	{ return iProtocol; }
       
    41 
       
    42 inline const TQoSParameters& CFlowHook::QoSParameters() const
       
    43 	{ return iQoS; }
       
    44 
       
    45 inline void CFlowHook::SetQoSChannel(CQoSConn* aChannel)
       
    46 	{ iChannel = aChannel; }
       
    47 
       
    48 inline CQoSConn* CFlowHook::Channel()
       
    49 	{ return iChannel; }
       
    50 
       
    51 inline TBool CFlowHook::ChannelJoined()
       
    52 	{ return iChannelJoined == 1; }
       
    53 
       
    54 inline void CFlowHook::SetChannelJoined(TBool aJoined)
       
    55 	{ iChannelJoined = aJoined;	}
       
    56 #endif