epoc32/include/mw/http/framework/mrxdataobserver.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file MRxDataObserver.h
       
    20  @warning : This file contains Rose Model ID comments - please do not delete
       
    21 */
       
    22 
       
    23 #ifndef	__MRXDATAOBSERVER_H__
       
    24 #define __MRXDATAOBSERVER_H__
       
    25 
       
    26 // System includes
       
    27 #include <e32std.h>
       
    28 
       
    29 // Forward declarations
       
    30 class CRxData;
       
    31 
       
    32 
       
    33 //##ModelId=3A914E570296
       
    34 class MRxDataObserver
       
    35 /**
       
    36 An interface to be implemented by classes that wish to receive status information
       
    37 from an implementation of the CRxData class.
       
    38 @publishedAll
       
    39 @released
       
    40 */
       
    41 	{
       
    42 public:
       
    43 /** @fn				void SetStatusL(CRxData& aRxData, TInt aStatus)
       
    44 	Intended Usage:	Receive a status message from the object that processes received
       
    45 					data in a protocol handler.
       
    46 	@param			aRxData		The object which is processing the data.
       
    47 	@param			aStatus		The status (or error) code.
       
    48 */
       
    49 	//##ModelId=3B1E6B5800E5
       
    50 	virtual void SetStatusL(CRxData& aRxData, TInt aStatus) =0;
       
    51 
       
    52 private: // methods
       
    53 
       
    54 /**	@fn				Reserved1()
       
    55 	Intended Usage:	Reserve a slot in the v-table to preserve future BC
       
    56  */
       
    57 	//##ModelId=3C4C37CE035D
       
    58 	inline virtual void MRDO_Reserved1();
       
    59 
       
    60 /**	@fn				Reserved2()
       
    61 	Intended Usage:	Reserve a slot in the v-table to preserve future BC
       
    62  */
       
    63 	//##ModelId=3C4C37CE0349
       
    64 	inline virtual void MRDO_Reserved2();
       
    65 	};
       
    66 
       
    67 
       
    68 inline void MRxDataObserver::MRDO_Reserved1()
       
    69 	{}
       
    70 inline void MRxDataObserver::MRDO_Reserved2()
       
    71 	{}
       
    72 
       
    73 #endif // __MRXDATAOBSERVER_H__