3
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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: Juha Kauppinen, Mika Hokkanen
|
|
13 |
*
|
|
14 |
* Description: Photo Browser
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef __IMAGIC_TRACE_H__
|
|
19 |
#define __IMAGIC_TRACE_H__
|
|
20 |
|
|
21 |
//#define _IMAGIC_DEBUG
|
|
22 |
#ifdef _IMAGIC_DEBUG
|
|
23 |
|
|
24 |
#include <e32debug.h>
|
|
25 |
|
|
26 |
#define DP0_IMAGIC(string) RDebug::Print(string)
|
|
27 |
#define DP1_IMAGIC(string,arg1) RDebug::Print(string,arg1)
|
|
28 |
#define DP2_IMAGIC(string,arg1,arg2) RDebug::Print(string,arg1,arg2)
|
|
29 |
#define DP3_IMAGIC(string,arg1,arg2,arg3) RDebug::Print(string,arg1,arg2,arg3)
|
|
30 |
#define DP4_IMAGIC(string,arg1,arg2,arg3,arg4) RDebug::Print(string,arg1,arg2,arg3,arg4)
|
|
31 |
#define DP5_IMAGIC(string,arg1,arg2,arg3,arg4,arg5) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5)
|
|
32 |
|
|
33 |
#else
|
|
34 |
|
|
35 |
#define DP0_IMAGIC(string)
|
|
36 |
#define DP1_IMAGIC(string,arg1)
|
|
37 |
#define DP2_IMAGIC(string,arg1,arg2)
|
|
38 |
#define DP3_IMAGIC(string,arg1,arg2,arg3)
|
|
39 |
#define DP4_IMAGIC(string,arg1,arg2,arg3,arg4)
|
|
40 |
#define DP5_IMAGIC(string,arg1,arg2,arg3,arg4,arg5)
|
|
41 |
#endif // _DEBUG
|
|
42 |
|
|
43 |
|
|
44 |
#endif //__IMAGIC_TRACE_H__
|