telephonyprotocols/rawipnif/inc/Receiver.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
--- a/telephonyprotocols/rawipnif/inc/Receiver.h	Tue Aug 31 16:23:08 2010 +0300
+++ b/telephonyprotocols/rawipnif/inc/Receiver.h	Wed Sep 01 12:40:21 2010 +0100
@@ -23,14 +23,16 @@
 #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, TUint aMaxPacketSize);
+	static CReceiver* NewL(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize);
 	~CReceiver();
 
 	// Inherited from CActive.
@@ -41,11 +43,12 @@
 	void StartListening();
 	
 private:
-	CReceiver(CBcaIoController& aObserver, TUint aMaxPacketSize);
+	CReceiver(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize);
 	void ConstructL();
 
 private: // Unowned data.
 	CBcaIoController& iObserver;
+	CBttLogger* iTheLogger;
 	TUint iMaxPacketSize;
 	RBuf8 iData;
 	RMBufPacket iRMBufPacket;