equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 */ |
|
16 |
|
17 |
|
18 #ifndef TRACEDEFS_H |
|
19 #define TRACEDEFS_H |
|
20 |
|
21 |
|
22 //----------------------------------------------------------------------------- |
|
23 // Constants |
|
24 //----------------------------------------------------------------------------- |
|
25 // |
|
26 |
|
27 /** |
|
28 * Trace prefixes for macros with component name. |
|
29 */ |
|
30 #define _PREFIX_TRACE( a ) TPtrC( (const TText*) L"[DLNAEXAMPLEAPP]: " L##a ) |
|
31 #define _PREFIX_TRACE_2( a, b ) TPtrC( (const TText*) L"[DLNAEXAMPLEAPP]: " L##a L##b ) |
|
32 #define _PREFIX_TRACE8( a ) (const char*)( "[DLNAEXAMPLEAPP] " ##a ) |
|
33 |
|
34 /** |
|
35 * Files for traces and event log |
|
36 */ |
|
37 #define TRACE_FILE "c:\\logs\\dlnaexampleapp\\dlnaexampleapp_trace.txt" |
|
38 #define LOG_FILE "c:\\logs\\dlnaexampleapp\\dlnaexampleapp_log.txt" |
|
39 |
|
40 #endif // TRACEDEFS_H |