telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstates.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
--- a/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstates.h	Tue Aug 31 16:23:08 2010 +0300
+++ b/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstates.h	Wed Sep 01 12:40:21 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-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"
@@ -24,16 +24,18 @@
 #define TPDPSTATES_H
 
 #include "tpdpstate.h"
+#include "spudfsmdebuglogger.h"
 
 class CPdpFsm;
 
-#if (OST_TRACE_CATEGORY & OST_TRACE_CATEGORY_DEBUG)
+#if _DEBUG 
 #define DEFINE_TPDPSTATE_CLASS(state) _LIT(KName##state, #state); \
 NONSHARABLE_CLASS(TPdpState##state) : public TPdpState \
 { \
 public: \
 	TPdpState##state (CPdpFsmFactory * aPdpFsmFactory) \
 	{ \
+		SPUDFSMVERBOSE_FNLOG("TPdpState" L ## #state L"::TPdpState" L ## #state L"()"); \
 		iName = KName##state; \
 		iPdpFsmFactory = aPdpFsmFactory; \
 	} \
@@ -47,6 +49,7 @@
 public: \
 	TPdpState##state (CPdpFsmFactory * aPdpFsmFactory) \
 	{ \
+		SPUDFSMVERBOSE_FNLOG("TPdpState" L ## #state L"::TPdpState" L ## #state L"()"); \
 		iPdpFsmFactory = aPdpFsmFactory; \
 	} \
 	TInt Input (CPdpFsm& aFsm, TInt aOperation, TInt aErrorCode); \