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