equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: engine macro define |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VTDEFS_HRH |
|
20 #define VTDEFS_HRH |
|
21 |
|
22 |
|
23 // DATA TYPES |
|
24 // MACROS |
|
25 |
|
26 |
|
27 #if defined(_DEBUG) || defined(WINS) |
|
28 /** |
|
29 * Debugging enabled always in debug builds |
|
30 */ |
|
31 #define VTDEBUG |
|
32 #else |
|
33 /** |
|
34 * Define here for release builds (disabled by default) |
|
35 * Uncomment VTDEBUG below if you want to enable logging in UREL. |
|
36 */ |
|
37 //#define VTDEBUG |
|
38 #endif |
|
39 |
|
40 #ifdef VTDEBUG |
|
41 /** |
|
42 * 0 = No logging |
|
43 * 1 = File logging |
|
44 * 2 = RDebug |
|
45 */ |
|
46 #if defined(__WINSCW) || defined(__WINS__) || defined (WINS) |
|
47 // In emulator log to output window |
|
48 #define VTLOGGING 1 |
|
49 #else |
|
50 /** |
|
51 * In HW to which ever is desired (File (1) by default) |
|
52 * Change VTLOGGING to 1 (file) or 2 (RDebug) as desired. |
|
53 */ |
|
54 #define VTLOGGING 1 |
|
55 #endif |
|
56 |
|
57 #else // !VTDEBUG |
|
58 |
|
59 // no logging |
|
60 #define VTLOGGING 0 |
|
61 |
|
62 #endif //VTDEBUG |
|
63 |
|
64 #if VTLOGGING == 1 |
|
65 #define VTFILELOGGING 1 |
|
66 #else |
|
67 #define VTFILELOGGING 0 |
|
68 #endif |
|
69 |
|
70 #endif // VTDEFS_HRH |
|
71 // End of File |