telephonyserverplugins/simtsy/src/CSimDataLine.cpp
changeset 44 8b72faa1200f
parent 0 3553901f7fa8
child 66 07a122eea281
--- a/telephonyserverplugins/simtsy/src/CSimDataLine.cpp	Mon May 24 18:38:31 2010 +0100
+++ b/telephonyserverplugins/simtsy/src/CSimDataLine.cpp	Tue Jun 22 11:02:32 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2001-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"
@@ -13,9 +13,15 @@
 // Description:
 //
 
+
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "CSimDataLineTraces.h"
+#endif
+
 #include "CSimPhone.h"
 #include "CSimDataCall.h"
-#include "Simlog.h"
 #include "et_struct.h"
 
 _LIT(KCommonCallName,"DataCall%d");	// < Data call name template.
@@ -108,7 +114,7 @@
 * @leave			Leaves if name given does not match the required name
 */
 	{
-	LOGDATA1(">>CSimDataLine::OpenNewObjectByNameL");
+	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSIMDATALINE_OPENNEWOBJECTBYNAMEL_1, ">>CSimDataLine::OpenNewObjectByNameL");
 	TInt i;
 	for(i=0;i<iCalls->Count();i++)
 		{
@@ -118,7 +124,7 @@
 			return iCalls->At(i);
 			}
 		}
-	LOGDATA1("<<CSimDataLine::OpenNewObjectByNameL");
+	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSIMDATALINE_OPENNEWOBJECTBYNAMEL_2, "<<CSimDataLine::OpenNewObjectByNameL");
 	User::Leave(KErrNotFound);
 	return NULL;
 	}
@@ -147,7 +153,7 @@
 		HandleNewCallAddedNotification(aNewName);
 		}
 	iNameOfLastCallAdded.Copy(aNewName);
-	LOGDATA2(">>CSimDataLine::CreateNewCallL 0x%08x",newCall);
+	OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSIMDATALINE_CREATENEWCALLL_1, ">>CSimDataLine::CreateNewCallL 0x%08x",newCall);
 	CleanupStack::Pop(newCall);
 	return newCall;
 	}
@@ -218,7 +224,7 @@
 		return NotifyMobileLineStatusChangeCancel(aTsyReqHandle);
 
 	default:
-		LOGDATA1("CSimDataLine::CancelService: No IPC match in SIM TSY, defering to core cancelservice function.");
+		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSIMDATALINE_CANCELSERVICE_1, "CSimDataLine::CancelService: No IPC match in SIM TSY, defering to core cancelservice function.");
 		break;
 		}