|
1 /* |
|
2 * Copyright (c) 2007 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: Master trace -file for whole Tactile Feedback subsystem. |
|
15 * Part of: Tactile Feedback. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef TACTILEFEEDBACKTRACE_H |
|
22 #define TACTILEFEEDBACKTRACE_H |
|
23 |
|
24 #include <bldvariant.hrh> |
|
25 |
|
26 |
|
27 #ifndef _DEBUG |
|
28 |
|
29 #define TRACE( x ) |
|
30 #define TRACE2( x, y ) |
|
31 #define TRACE3( x, y, z ) |
|
32 #define TRACE4( x, y, z, zz ) |
|
33 #define TRACE5( x, y, z, zz, zzz ) |
|
34 |
|
35 #else |
|
36 |
|
37 #include <e32std.h> |
|
38 #include <e32svr.h> // RDebug |
|
39 |
|
40 #define TRACE( x ) RDebug::Print( _L( x ) ) |
|
41 #define TRACE2( x, y ) RDebug::Print( _L( x ), ( y ) ) |
|
42 #define TRACE3( x, y, z ) RDebug::Print( _L( x ), ( y ), ( z ) ) |
|
43 #define TRACE4( x, y, z, zz ) RDebug::Print( _L( x ), ( y ), ( z ), ( zz ) ) |
|
44 #define TRACE5( x, y, z, zz, zzz ) RDebug::Print( _L( x ), ( y ), ( z ), ( zz ), ( zzz ) ) |
|
45 |
|
46 #endif // _DEBUG |
|
47 |
|
48 #endif // TACTILEFEEDBACKTRACE_H |
|
49 |