1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/mw/http/framework/mrxdataobserver.h Wed Mar 31 12:27:01 2010 +0100
1.3 @@ -0,0 +1,73 @@
1.4 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// 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
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +
1.20 +
1.21 +/**
1.22 + @file MRxDataObserver.h
1.23 + @warning : This file contains Rose Model ID comments - please do not delete
1.24 +*/
1.25 +
1.26 +#ifndef __MRXDATAOBSERVER_H__
1.27 +#define __MRXDATAOBSERVER_H__
1.28 +
1.29 +// System includes
1.30 +#include <e32std.h>
1.31 +
1.32 +// Forward declarations
1.33 +class CRxData;
1.34 +
1.35 +
1.36 +//##ModelId=3A914E570296
1.37 +class MRxDataObserver
1.38 +/**
1.39 +An interface to be implemented by classes that wish to receive status information
1.40 +from an implementation of the CRxData class.
1.41 +@publishedAll
1.42 +@released
1.43 +*/
1.44 + {
1.45 +public:
1.46 +/** @fn void SetStatusL(CRxData& aRxData, TInt aStatus)
1.47 + Intended Usage: Receive a status message from the object that processes received
1.48 + data in a protocol handler.
1.49 + @param aRxData The object which is processing the data.
1.50 + @param aStatus The status (or error) code.
1.51 +*/
1.52 + //##ModelId=3B1E6B5800E5
1.53 + virtual void SetStatusL(CRxData& aRxData, TInt aStatus) =0;
1.54 +
1.55 +private: // methods
1.56 +
1.57 +/** @fn Reserved1()
1.58 + Intended Usage: Reserve a slot in the v-table to preserve future BC
1.59 + */
1.60 + //##ModelId=3C4C37CE035D
1.61 + inline virtual void MRDO_Reserved1();
1.62 +
1.63 +/** @fn Reserved2()
1.64 + Intended Usage: Reserve a slot in the v-table to preserve future BC
1.65 + */
1.66 + //##ModelId=3C4C37CE0349
1.67 + inline virtual void MRDO_Reserved2();
1.68 + };
1.69 +
1.70 +
1.71 +inline void MRxDataObserver::MRDO_Reserved1()
1.72 + {}
1.73 +inline void MRxDataObserver::MRDO_Reserved2()
1.74 + {}
1.75 +
1.76 +#endif // __MRXDATAOBSERVER_H__