smsprotocols/smsstack/wapprot/Src/wapmain.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
--- a/smsprotocols/smsstack/wapprot/Src/wapmain.cpp	Thu Aug 19 11:03:36 2010 +0300
+++ b/smsprotocols/smsstack/wapprot/Src/wapmain.cpp	Tue Aug 31 16:23:08 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-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"
@@ -12,6 +12,12 @@
 //
 // Description:
 //
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "wapmainTraces.h"
+#endif
+
 #include "wapmain.h"
 #include <e32std.h>
 #include "smsstacklog.h"
@@ -20,7 +26,7 @@
      {
      // Ignore in code coverag - panic method
      BULLSEYE_OFF
-     LOGWAPPROT2("WAPUPANIC %d", aPanic);
+     OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, WAPMAIN_PANIC_1, "WAPUPANIC %d", aPanic);
      _LIT(KWapProtPanic, "WAPPROT");
      User::Panic(KWapProtPanic, aPanic);
      BULLSEYE_RESTORE