diff -r 1df514389a47 -r 41f0cfe18c80 userlibandfileserver/fileserver/shostmassstorage/client/debug.h --- a/userlibandfileserver/fileserver/shostmassstorage/client/debug.h Wed Apr 14 17:22:59 2010 +0300 +++ b/userlibandfileserver/fileserver/shostmassstorage/client/debug.h Tue Apr 27 18:02:57 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -25,7 +25,8 @@ #include #endif -// #define _USBMS_DEBUG_PRINT_ +// #define _USBMS_DEBUG_PRINT_ +// #define _MSDEVICE_DEBUG_PRINT_ #if defined(_USBMS_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) /** Trace - format string */ @@ -75,4 +76,15 @@ #define __FNLOG(name) #endif + +#if defined (_MSDEVICE_DEBUG_PRINT_) && (defined(_DEBUG) || defined(_DEBUG_RELEASE)) +#define __MSDEVPRINT(t) {RDebug::Print(t);} +#define __MSDEVPRINT1(t,a) {RDebug::Print(t,a);} +#define __MSDEVPRINT2(t,a,b) {RDebug::Print(t,a,b);} +#else +#define __MSDEVPRINT(t) +#define __MSDEVPRINT1(t,a) +#define __MSDEVPRINT2(t,a,b) +#endif // _MSDEVICE_DEBUG_PRINT_ + #endif // DEBUG_H