telephonyprotocols/rawipnif/inc/Receiver.h
changeset 44 8b72faa1200f
parent 23 6b1d113cdff3
--- a/telephonyprotocols/rawipnif/inc/Receiver.h	Mon May 24 18:38:31 2010 +0100
+++ b/telephonyprotocols/rawipnif/inc/Receiver.h	Tue Jun 22 11:02:32 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -23,30 +23,29 @@
 #define RECEIVER_H
 
 #include "BcaIoController.h"
-#include "bttlog.h"
 #include "Constants.h"
 #include <nifmbuf.h>
 
-class CBttLogger;
 
 class CReceiver : public CActive
 	{
 public:	
-	static CReceiver* NewL(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize);
+	static CReceiver* NewL(CBcaIoController& aObserver, TUint aMaxPacketSize);
 	~CReceiver();
 
 	// Inherited from CActive.
 	virtual void RunL();
+	virtual TInt RunError(TInt aError);
 	virtual void DoCancel();
+	
 	void StartListening();
 	
 private:
-	CReceiver(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize);
+	CReceiver(CBcaIoController& aObserver, TUint aMaxPacketSize);
 	void ConstructL();
 
 private: // Unowned data.
 	CBcaIoController& iObserver;
-	CBttLogger* iTheLogger;
 	TUint iMaxPacketSize;
 	RBuf8 iData;
 	RMBufPacket iRMBufPacket;