applayerpluginsandutils/httpprotocolplugins/wspinc/MWspCapabilityProvider.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:30:47 +0300
changeset 12 88a7990e456a
parent 0 b16258d2340f
permissions -rw-r--r--
Revision: 201009 Kit: 201015

// Copyright (c) 2001-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:
//

/**
 @file MWspCapabilityProvider.h
 @warning : This file contains Rose Model ID comments - please do not delete
*/

#ifndef __MWSPCAPABILITYPROVIDER_H__
#define __MWSPCAPABILITYPROVIDER_H__

// System includes
#include <e32base.h>

// Forward declarations
class MWspCapabilityViewer;
class MWspCapabilitySetter;


class MWspCapabilityProvider
/**
@class MWspCapabilityProvider
@since			7.0
The MWspCapabilityProvider API supplies the capabilities proposed by the 
Client using the MWspCapabilityViewer API. The negotiated capabilities from
the Server can be given to the Client using the MWspCapabilitySetter API.
@publishedAll
@deprecated
*/
	{
public:	// Methods

/**
	@fn				ClientCapabilities() const =0
	Intended Usage	:	Provides the proposed Client capabilities. 
	@since			7.0
	@return			A reference to a MWspCapabilityViewer object that contains
					the Client's proposed capabilities.
 */
	virtual const MWspCapabilityViewer& ClientCapabilities() const =0;

/**
	@fn				ServerCapabilities() const =0
	Intended Usage	:	Provides the call-back interface for the negotiated 
						capabilities from the Server.
	@since			7.0
	@return			A reference to a MWspCapabilitySetter object through which
					the negotiated capabilities from the Server are passed to 
					the Client.
 */
	virtual MWspCapabilitySetter& ServerCapabilities() const =0;
	};

#endif	// __MWSPCAPABILITYPROVIDER_H__