First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 #ifdef _DEBUG // Debug build
23 #define COMMON_RDEBUG(X) RDebug::Print(X)
24 #define COMMON_RDEBUG_INT(X,Y) RDebug::Print(X,Y)
26 #else // hw environment
27 #define COMMON_RDEBUG(X)
28 #define COMMON_RDEBUG_INT(X,Y)
33 // Use "macro _RD_COMMONENGINE_DETAILED_TRACE"" in commonengine.mmp file
34 // to enable detailed trace of Commonengine.
36 #ifdef _RD_COMMONENGINE_DETAILED_TRACE // Debug environment
37 #define COMMONENGINE_RDEBUG(X) RDebug::Print(X)
38 #define COMMONENGINE_RDEBUG_SUBSTITUTE(X) RDebug::Print(_L("%S"), &X)
39 #define COMMONENGINE_RDEBUG_INT(X,Y) RDebug::Print(X,Y)
40 #define COMMONENGINE_RDEBUG_INT2(X,Y,Z) RDebug::Print(X,Y,Z)
41 #define COMMONENGINE_RDEBUG_INT3(X,Y,Z,Q) RDebug::Print(X,Y,Z,Q)
42 #define COMMONENGINE_RDEBUG_INT4(X,Y,Z,Q,W) RDebug::Print(X,Y,Z,Q,W)
44 #else // hw environment
45 #define COMMONENGINE_RDEBUG(X)
46 #define COMMONENGINE_RDEBUG_SUBSTITUTE(X)
47 #define COMMONENGINE_RDEBUG_INT(X,Y)
48 #define COMMONENGINE_RDEBUG_INT2(X,Y,Z)
49 #define COMMONENGINE_RDEBUG_INT3(X,Y,Z,Q)
50 #define COMMONENGINE_RDEBUG_INT4(X,Y,Z,Q,W)
55 // Use "macro _RD_FEATMGR_DETAILED_TRACE" in featmgr.mmp file
56 // to enable detailed trace of FeatureManager.
58 #ifdef _RD_FEATMGR_DETAILED_TRACE // Debug build
59 #define FEATMGR_RDEBUG(X) RDebug::Print(X)
60 #define FEATMGR_RDEBUG_INT(X,Y) RDebug::Print(X,Y)
62 #else // hw environment
63 #define FEATMGR_RDEBUG(X)
64 #define FEATMGR_RDEBUG_INT(X,Y)