lowlevellibsandfws/pluginfw/Framework/frame/EComServerSession.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:38:54 +0300
changeset 63 a117ad66e027
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201037 Kit: 201037

// Copyright (c) 1997-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:
// Implementation of the CEComServerSession inline methods
// 
//

/**
 @internalComponent
 @file
*/
// Obtain the reference to the server for this session
inline CEComServer& CEComServerSession::Server()
	{
	return *(REINTERPRET_CAST(CEComServer*,(CONST_CAST(CServer2*, CSession2::Server()))));
	}

inline TBool CEComServerSession::ReceivePending() const
	{
	// Any outstanding notifications?
	return !(iNotificationRequests.Count() == 0);
	}