basebandadaptationplugins/basebandchanneladaptorforc32/inc/C32Bca.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
--- a/basebandadaptationplugins/basebandchanneladaptorforc32/inc/C32Bca.h	Tue Aug 31 16:23:08 2010 +0300
+++ b/basebandadaptationplugins/basebandchanneladaptorforc32/inc/C32Bca.h	Wed Sep 01 12:40:21 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2009 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"
@@ -29,6 +29,7 @@
 #include <e32def.h>
 #include <commsdattypesv1_1.h>
 using namespace CommsDat;
+#include <comms-infras/commsdebugutility.h>
 
 /** This namespace includes the BCA component names.*/
 namespace BasebandChannelAdaptation
@@ -41,7 +42,9 @@
 	
 	_LIT(KChannelIdNotOverridden, "");
 	
-		
+	_LIT8(KC32BcaLogFolder, "C32Bca");
+	_LIT8(KC32BcaLogFile, "C32Bca.txt");
+	
 		
 	
 	
@@ -93,7 +96,8 @@
 			Serial port we service for the iUser */
 			RComm& iPort;
 	
-	
+			/** CommsDebug logger  */
+			__FLOG_DECLARATION_MEMBER;			
 		};
 	
 	/**
@@ -188,6 +192,10 @@
 		virtual void CommWriteComplete(TInt aErr);
 		virtual void CommLinkDown(TInt aErr);
 				
+#ifdef __FLOG_ACTIVE
+		void LogCommConfig(TCommConfig& c);
+#endif // __FLOG_ACTIVE
+
 	private:
 		void CloseCommPort();	
 	
@@ -234,6 +242,8 @@
 		/** Should the next write be errored with this error  code? */
 		TInt iErrorOnNextWrite;
 		
+		/** Comms Debug Utility logger. */
+		__FLOG_DECLARATION_MEMBER;
 		};
 	/**
 	* C32BCA Panic.