diff -r 000000000000 -r b16258d2340f applayerpluginsandutils/httpprotocolplugins/wspinc/MWspCapabilityProvider.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/applayerpluginsandutils/httpprotocolplugins/wspinc/MWspCapabilityProvider.h Tue Feb 02 01:09:52 2010 +0200 @@ -0,0 +1,66 @@ +// 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 + +// 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__ \ No newline at end of file