diff -r 000000000000 -r af10295192d8 networkcontrol/qoslib/inc/qoslib_glob.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/networkcontrol/qoslib/inc/qoslib_glob.inl Tue Jan 26 15:23:49 2010 +0200 @@ -0,0 +1,48 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +/** + @internalComponent +*/ +#ifndef __QOSLIB_GLOB_INL__ +#define __QOSLIB_GLOB_INL__ + +inline CQoSParameters& CChannel::GetPolicy() + { return iPolicy; } + +inline TUint CChannel::Capabilities() const + { return iCapabilities; } + +inline TInt CChannel::ChannelId() const + { return iChannelId; }; + +inline RSocket& CQoSMan::Socket() + { return iSocket; } + +inline const TCheckedUid& CQoSMan::Uid() const + { return iUid; } + +inline void CQoSMan::Open() + { iRefCount++; } + +inline void QoSManGlobals::Set(CQoSMan* aGlobals) + { Dll::SetTls(aGlobals); } + +inline CQoSMan* QoSManGlobals::Get() + { CQoSMan* manager=(CQoSMan *)Dll::Tls(); return manager; } + +#endif