smsprotocols/smsstack/wapprot/Src/wapmain.cpp
branchGCC_SURGE
changeset 54 7f274f99c152
parent 42 3adadc800673
child 66 07a122eea281
--- a/smsprotocols/smsstack/wapprot/Src/wapmain.cpp	Wed Jun 16 15:43:02 2010 +0100
+++ b/smsprotocols/smsstack/wapprot/Src/wapmain.cpp	Thu Jul 22 16:45:24 2010 +0100
@@ -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