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