|
1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 #ifndef AKNEXTENDEDFADERTRACES_H_ |
|
18 #define AKNEXTENDEDFADERTRACES_H_ |
|
19 |
|
20 #if defined(_DEBUG) || defined(AKNEXTENDEDFADER_UREL_TRACES) |
|
21 |
|
22 // Traces in debug mode or if somebody forced them in UREL as well |
|
23 #define TRACE(x) RDebug::RawPrint(_L8(x)); |
|
24 #define TRACE1(x, a) RDebug::Printf(x, a); |
|
25 #define TRACE2(x, a, b) RDebug::Printf(x, a, b); |
|
26 #define TRACE3(x, a, b, c) RDebug::Printf(x, a, b, c); |
|
27 #define TRACE4(x, a, b, c, d) RDebug::Printf(x, a, b, c, d); |
|
28 #define TRACE5(x, a, b, c, d, e) RDebug::Printf(x, a, b, c, d, e); |
|
29 #define TRACE6(x, a, b, c, d, e, f) RDebug::Printf(x, a, b, c, d, e, f); |
|
30 |
|
31 #else |
|
32 |
|
33 #define TRACE(x) |
|
34 #define TRACE1(x, a) |
|
35 #define TRACE2(x, a, b) |
|
36 #define TRACE3(x, a, b, c) |
|
37 #define TRACE4(x, a, b, c, d) |
|
38 #define TRACE5(x, a, b, c, d, e) |
|
39 #define TRACE6(x, a, b, c, d, e, f) |
|
40 |
|
41 #endif |
|
42 |
|
43 #endif |