diff -r e1e28b0273b0 -r 93fff7023be8 AppInc/debug.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AppInc/debug.h Fri Oct 15 10:18:29 2010 +0900 @@ -0,0 +1,41 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: Juha Kauppinen, Mika Hokkanen +* +* Description: Photo Browser +* +*/ + +#define _IMAGIC_DEBUG +#ifdef _IMAGIC_DEBUG + +#include + +#define DP0_IMAGIC(string) RDebug::Print(string) +#define DP1_IMAGIC(string,arg1) RDebug::Print(string,arg1) +#define DP2_IMAGIC(string,arg1,arg2) RDebug::Print(string,arg1,arg2) +#define DP3_IMAGIC(string,arg1,arg2,arg3) RDebug::Print(string,arg1,arg2,arg3) +#define DP4_IMAGIC(string,arg1,arg2,arg3,arg4) RDebug::Print(string,arg1,arg2,arg3,arg4) +#define DP5_IMAGIC(string,arg1,arg2,arg3,arg4,arg5) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5) + +#else + +#define DP0_IMAGIC(string) +#define DP1_IMAGIC(string,arg1) +#define DP2_IMAGIC(string,arg1,arg2) +#define DP3_IMAGIC(string,arg1,arg2,arg3) +#define DP4_IMAGIC(string,arg1,arg2,arg3,arg4) +#define DP5_IMAGIC(string,arg1,arg2,arg3,arg4,arg5) +#endif // _DEBUG + + +//#endif //__IMAGIC_TRACE_H__