applayerpluginsandutils/httpprotocolplugins/wspinc/MWspCapabilityProvider.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2001-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  @file MWspCapabilityProvider.h
       
    18  @warning : This file contains Rose Model ID comments - please do not delete
       
    19 */
       
    20 
       
    21 #ifndef __MWSPCAPABILITYPROVIDER_H__
       
    22 #define __MWSPCAPABILITYPROVIDER_H__
       
    23 
       
    24 // System includes
       
    25 #include <e32base.h>
       
    26 
       
    27 // Forward declarations
       
    28 class MWspCapabilityViewer;
       
    29 class MWspCapabilitySetter;
       
    30 
       
    31 
       
    32 class MWspCapabilityProvider
       
    33 /**
       
    34 @class MWspCapabilityProvider
       
    35 @since			7.0
       
    36 The MWspCapabilityProvider API supplies the capabilities proposed by the 
       
    37 Client using the MWspCapabilityViewer API. The negotiated capabilities from
       
    38 the Server can be given to the Client using the MWspCapabilitySetter API.
       
    39 @publishedAll
       
    40 @deprecated
       
    41 */
       
    42 	{
       
    43 public:	// Methods
       
    44 
       
    45 /**
       
    46 	@fn				ClientCapabilities() const =0
       
    47 	Intended Usage	:	Provides the proposed Client capabilities. 
       
    48 	@since			7.0
       
    49 	@return			A reference to a MWspCapabilityViewer object that contains
       
    50 					the Client's proposed capabilities.
       
    51  */
       
    52 	virtual const MWspCapabilityViewer& ClientCapabilities() const =0;
       
    53 
       
    54 /**
       
    55 	@fn				ServerCapabilities() const =0
       
    56 	Intended Usage	:	Provides the call-back interface for the negotiated 
       
    57 						capabilities from the Server.
       
    58 	@since			7.0
       
    59 	@return			A reference to a MWspCapabilitySetter object through which
       
    60 					the negotiated capabilities from the Server are passed to 
       
    61 					the Client.
       
    62  */
       
    63 	virtual MWspCapabilitySetter& ServerCapabilities() const =0;
       
    64 	};
       
    65 
       
    66 #endif	// __MWSPCAPABILITYPROVIDER_H__