epoc32/include/mw/http/framework/mrxdataobserver.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 MRxDataObserver.h
    18  @warning : This file contains Rose Model ID comments - please do not delete
    19 */
    20 
    21 #ifndef	__MRXDATAOBSERVER_H__
    22 #define __MRXDATAOBSERVER_H__
    23 
    24 // System includes
    25 #include <e32std.h>
    26 
    27 // Forward declarations
    28 class CRxData;
    29 
    30 
    31 //##ModelId=3A914E570296
    32 class MRxDataObserver
    33 /**
    34 An interface to be implemented by classes that wish to receive status information
    35 from an implementation of the CRxData class.
    36 @publishedAll
    37 @released
    38 */
    39 	{
    40 public:
    41 /** @fn				void SetStatusL(CRxData& aRxData, TInt aStatus)
    42 	Intended Usage:	Receive a status message from the object that processes received
    43 					data in a protocol handler.
    44 	@param			aRxData		The object which is processing the data.
    45 	@param			aStatus		The status (or error) code.
    46 */
    47 	//##ModelId=3B1E6B5800E5
    48 	virtual void SetStatusL(CRxData& aRxData, TInt aStatus) =0;	
    49 
    50 private: 
    51     // methods
    52     /**    @fn             Reserved1()
    53    Intended Usage: Reserve a slot in the v-table to preserve future BC
    54    */
    55    //##ModelId=3C4C37CE035D
    56    inline virtual void MRDO_Reserved1();
    57     
    58 
    59 /**	@fn				Reserved2()
    60 	Intended Usage:	Reserve a slot in the v-table to preserve future BC
    61  */
    62 	//##ModelId=3C4C37CE0349
    63 	inline virtual void MRDO_Reserved2();
    64 	};
    65 
    66 inline void MRxDataObserver::MRDO_Reserved1()
    67     {}
    68 
    69 
    70 inline void MRxDataObserver::MRDO_Reserved2()
    71 	{}
    72 
    73 #endif // __MRXDATAOBSERVER_H__