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