williamr@2: // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file MRxDataObserver.h williamr@2: @warning : This file contains Rose Model ID comments - please do not delete williamr@2: */ williamr@2: williamr@2: #ifndef __MRXDATAOBSERVER_H__ williamr@2: #define __MRXDATAOBSERVER_H__ williamr@2: williamr@2: // System includes williamr@2: #include williamr@2: williamr@2: // Forward declarations williamr@2: class CRxData; williamr@2: williamr@2: williamr@2: //##ModelId=3A914E570296 williamr@2: class MRxDataObserver williamr@2: /** williamr@2: An interface to be implemented by classes that wish to receive status information williamr@2: from an implementation of the CRxData class. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: { williamr@2: public: williamr@2: /** @fn void SetStatusL(CRxData& aRxData, TInt aStatus) williamr@2: Intended Usage: Receive a status message from the object that processes received williamr@2: data in a protocol handler. williamr@2: @param aRxData The object which is processing the data. williamr@2: @param aStatus The status (or error) code. williamr@2: */ williamr@2: //##ModelId=3B1E6B5800E5 williamr@2: virtual void SetStatusL(CRxData& aRxData, TInt aStatus) =0; williamr@2: williamr@2: private: // methods williamr@2: williamr@2: /** @fn Reserved1() williamr@2: Intended Usage: Reserve a slot in the v-table to preserve future BC williamr@2: */ williamr@2: //##ModelId=3C4C37CE035D williamr@2: inline virtual void MRDO_Reserved1(); williamr@2: williamr@2: /** @fn Reserved2() williamr@2: Intended Usage: Reserve a slot in the v-table to preserve future BC williamr@2: */ williamr@2: //##ModelId=3C4C37CE0349 williamr@2: inline virtual void MRDO_Reserved2(); williamr@2: }; williamr@2: williamr@2: williamr@2: inline void MRxDataObserver::MRDO_Reserved1() williamr@2: {} williamr@2: inline void MRxDataObserver::MRDO_Reserved2() williamr@2: {} williamr@2: williamr@2: #endif // __MRXDATAOBSERVER_H__