equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
23 |
23 |
24 #if (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
24 #if (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
25 #include <e32debug.h> |
25 #include <e32debug.h> |
26 #endif |
26 #endif |
27 |
27 |
28 // #define _USBMS_DEBUG_PRINT_ |
28 // #define _USBMS_DEBUG_PRINT_ |
|
29 // #define _MSDEVICE_DEBUG_PRINT_ |
29 |
30 |
30 #if defined(_USBMS_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
31 #if defined(_USBMS_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
31 /** Trace - format string */ |
32 /** Trace - format string */ |
32 #define __PRINT(t) {RDebug::Print(t);} |
33 #define __PRINT(t) {RDebug::Print(t);} |
33 /** Trace - format string with 1 param */ |
34 /** Trace - format string with 1 param */ |
73 #define __PRINT5(t,a,b,c,d,e) |
74 #define __PRINT5(t,a,b,c,d,e) |
74 /** NULL definition */ |
75 /** NULL definition */ |
75 #define __FNLOG(name) |
76 #define __FNLOG(name) |
76 #endif |
77 #endif |
77 |
78 |
|
79 |
|
80 #if defined (_MSDEVICE_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) |
|
81 #define __MSDEVPRINT(t) {RDebug::Print(t);} |
|
82 #define __MSDEVPRINT1(t,a) {RDebug::Print(t,a);} |
|
83 #define __MSDEVPRINT2(t,a,b) {RDebug::Print(t,a,b);} |
|
84 #else |
|
85 #define __MSDEVPRINT(t) |
|
86 #define __MSDEVPRINT1(t,a) |
|
87 #define __MSDEVPRINT2(t,a,b) |
|
88 #endif // _MSDEVICE_DEBUG_PRINT_ |
|
89 |
78 #endif // DEBUG_H |
90 #endif // DEBUG_H |