bluetooth/btstack/rfcomm/rfcommstates.cpp
changeset 51 20ac952a623c
parent 48 22de2e391156
--- a/bluetooth/btstack/rfcomm/rfcommstates.cpp	Thu Sep 23 17:06:47 2010 +0300
+++ b/bluetooth/btstack/rfcomm/rfcommstates.cpp	Wed Oct 13 16:20:29 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"
@@ -26,6 +26,8 @@
 _LIT8(KLogComponent, LOG_COMPONENT_RFCOMM);
 #endif
 
+#define STATENAME(x) IF_FLOGGING(iName=_L(x))
+
 // Together, these classes and the SAP implement the State pattern
 // (GOF).  The states themselves are implemented using the Flyweight
 // pattern.  Each state is a Flyweight object, and CRfcommStateFactory