|
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: Debug Macros used by AdvancedAudioController |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __DEBUGMACROS_H__ |
|
20 #define __DEBUGMACROS_H__ |
|
21 |
|
22 // MACROS |
|
23 #ifdef _DEBUG |
|
24 #define DP0(string) RDebug::Print(string) |
|
25 #define DP1(string,arg1) RDebug::Print(string,arg1) |
|
26 #define DP2(string,arg1,arg2) RDebug::Print(string,arg1,arg2) |
|
27 #define DP3(string,arg1,arg2,arg3) RDebug::Print(string,arg1,arg2,arg3) |
|
28 #define DP4(string,arg1,arg2,arg3,arg4) RDebug::Print(string,arg1,arg2,arg3,arg4) |
|
29 #define DP5(string,arg1,arg2,arg3,arg4,arg5) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5) |
|
30 #define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5,arg6) |
|
31 #else |
|
32 #define DP0(string) |
|
33 #define DP1(string,arg1) |
|
34 #define DP2(string,arg1,arg2) |
|
35 #define DP3(string,arg1,arg2,arg3) |
|
36 #define DP4(string,arg1,arg2,arg3,arg4) |
|
37 #define DP5(string,arg1,arg2,arg3,arg4,arg5) |
|
38 #define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6) |
|
39 #endif |
|
40 |
|
41 #endif //__DEBUGMACROS_H__ |