|
1 /* |
|
2 * Copyright (c) 2004-2006 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: Provides a comfort noise generator class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCCMSRPFORMATLOGS_H |
|
20 #define MCCMSRPFORMATLOGS_H |
|
21 |
|
22 #include "mcclogs.h" |
|
23 |
|
24 _LIT(KMsrpFormat, "Mcc/MsrpFormat:"); |
|
25 |
|
26 #ifdef _DEBUG |
|
27 #define __MCC_MsrpFORMAT_CONTROLL |
|
28 #define __MCC_MsrpFORMAT_MEDIA |
|
29 #endif // end of _DEBUG |
|
30 |
|
31 #ifdef __MCC_MsrpFORMAT_CONTROLL |
|
32 #define __MsrpFORMAT_CONTROLL( a ) \ |
|
33 { _LIT( KStr, a ); TMccLog::Print( KMsrpFormat, KStr ); } |
|
34 #define __MsrpFORMAT_CONTROLL_INT1( a, b ) \ |
|
35 { _LIT( KStr, a ); TMccLog::Print( KMsrpFormat, KStr, b ); } |
|
36 #define __MsrpFORMAT_CONTROLL_INT2( a, b, c, d ) \ |
|
37 { _LIT( KStr1, a ); _LIT( KStr2, c ); \ |
|
38 TMccLog::Print( KMsrpFormat, KStr1, b, KStr2, d ); } |
|
39 #else |
|
40 #define __MsrpFORMAT_CONTROLL( a ) |
|
41 #define __MsrpFORMAT_CONTROLL_INT1( a, b ) |
|
42 #define __MsrpFORMAT_CONTROLL_INT2( a, b, c, d ) |
|
43 #endif // end of ifdef __MCC_ANYFORMAT_CONTROLL |
|
44 |
|
45 #ifdef __MCC_MsrpFORMAT_MEDIA |
|
46 #define __MsrpFORMAT_MEDIA( a ) \ |
|
47 { _LIT( KStr, a ); TMccLog::Print( KMsrpFormat, KStr ); } |
|
48 #define __MsrpFORMAT_MEDIA_INT1( a, b ) \ |
|
49 { _LIT( KStr, a ); TMccLog::Print( KMsrpFormat, KStr, b ); } |
|
50 #define __MsrpFORMAT_MEDIA_INT2( a, b, c, d ) \ |
|
51 { _LIT( KStr1, a ); _LIT( KStr2, c ); \ |
|
52 TMccLog::Print( KMsrpFormat, KStr1, b, KStr2, d );} |
|
53 #else |
|
54 #define __MsrpFORMAT_MEDIA( a ) |
|
55 #define __MsrpFORMAT_MEDIA_INT1( a, b ) |
|
56 #define __MsrpFORMAT_MEDIA_INT2( a, b, c, d ) |
|
57 #endif // end of ifdef __MCC_ANYFORMAT_MEDIA |
|
58 |
|
59 #endif |
|
60 // end of file |