smsprotocols/smsstack/smsprot/Src/smspmain.cpp
branchRCL_3
changeset 19 630d2f34d719
parent 0 3553901f7fa8
child 20 07a122eea281
--- a/smsprotocols/smsstack/smsprot/Src/smspmain.cpp	Thu Aug 19 11:03:36 2010 +0300
+++ b/smsprotocols/smsstack/smsprot/Src/smspmain.cpp	Tue Aug 31 16:23:08 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1999-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"
@@ -19,6 +19,12 @@
  @file
 */
 
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "smspmainTraces.h"
+#endif
+
 #include <e32std.h>
 #include "Gsmuelem.h"
 #include <exterror.h>
@@ -62,7 +68,7 @@
 			rpError = KErrGsmSMSUnspecifiedProtocolError;
 			break;
 		}
-	LOGSMSPROT3("ErrorToRPError (%d->%d)", aError, rpError);
+	OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, ERRORTORPERROR_1, "ErrorToRPError (%d->%d)", aError, rpError);
 
 	return rpError;
 	} // ErrorToRPError
@@ -98,7 +104,7 @@
                 } break;
             }
         }
-    LOGSMSPROT3("ErrorToTPError (%d->%d)", aError, tpError);
+    OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, ERRORTOTPERROR_1, "ErrorToTPError (%d->%d)", aError, tpError);
     return tpError;
 	}
 
@@ -115,7 +121,7 @@
     {
     // Ignore in code coverage  - panic method
     BULLSEYE_OFF
-    LOGSMSPROT2("SMSPPANIC %d", aPanic);
+    OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, SMSPPANIC_1, "SMSPPANIC %d", aPanic);
     _LIT(KSmsprotPanic, "SMSP");
     User::Panic(KSmsprotPanic,aPanic);
     BULLSEYE_RESTORE