|
1 /* |
|
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * MACROS |
|
16 * DEFINES |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifdef _DEBUG // Debug build |
|
23 #define COMMON_RDEBUG(X) RDebug::Print(X) |
|
24 #define COMMON_RDEBUG_INT(X,Y) RDebug::Print(X,Y) |
|
25 |
|
26 #else // hw environment |
|
27 #define COMMON_RDEBUG(X) |
|
28 #define COMMON_RDEBUG_INT(X,Y) |
|
29 |
|
30 #endif |
|
31 |
|
32 // |
|
33 // Use "macro _RD_COMMONENGINE_DETAILED_TRACE"" in commonengine.mmp file |
|
34 // to enable detailed trace of Commonengine. |
|
35 // |
|
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) |
|
43 |
|
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) |
|
51 |
|
52 #endif |
|
53 |
|
54 // |
|
55 // Use "macro _RD_FEATMGR_DETAILED_TRACE" in featmgr.mmp file |
|
56 // to enable detailed trace of FeatureManager. |
|
57 // |
|
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) |
|
61 |
|
62 #else // hw environment |
|
63 #define FEATMGR_RDEBUG(X) |
|
64 #define FEATMGR_RDEBUG_INT(X,Y) |
|
65 |
|
66 #endif |
|
67 |
|
68 |
|
69 |
|
70 // End of File |