author | Chris Dudding <chris.dudding@nokia.com> |
Tue, 06 Jul 2010 16:50:33 +0100 | |
changeset 32 | 0bacd7dbb9a9 |
parent 31 | ba1c4f4a893f |
permissions | -rw-r--r-- |
31 | 1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 |
// All rights reserved. |
|
3 |
// This component and the accompanying materials are made available |
|
32
0bacd7dbb9a9
Fix for Bug 3168 Incorrect copyright header in sql and sqlite3api
Chris Dudding <chris.dudding@nokia.com>
parents:
31
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
31 | 5 |
// which accompanies this distribution, and is available |
32
0bacd7dbb9a9
Fix for Bug 3168 Incorrect copyright header in sql and sqlite3api
Chris Dudding <chris.dudding@nokia.com>
parents:
31
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
31 | 7 |
// |
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// |
|
15 |
#ifndef SQLITETRACEDEF_H |
|
16 |
#define SQLITETRACEDEF_H |
|
17 |
||
18 |
#include <e32def.h> |
|
19 |
#include "SqliteUtil.h" |
|
20 |
||
21 |
////////////////////////////////////////////////////////////////////////////////////// |
|
22 |
||
23 |
#if defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_OS_TRACE_ENABLED |
|
24 |
#define __SQLITETRACE_OSVAR(var) var |
|
25 |
#define __SQLITETRACE_OSEXPR(expr) expr |
|
26 |
#else |
|
27 |
#define __SQLITETRACE_OSVAR(var) |
|
28 |
#define __SQLITETRACE_OSEXPR(expr) |
|
29 |
#endif |
|
30 |
||
31 |
////////////////////////////////////////////////////////////////////////////////////// |
|
32 |
||
33 |
#if defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_RDEBUG_PRINT |
|
34 |
#undef OstTrace0 |
|
35 |
#undef OstTrace1 |
|
36 |
#undef OstTraceExt1 |
|
37 |
#undef OstTraceExt2 |
|
38 |
#undef OstTraceExt3 |
|
39 |
#undef OstTraceExt4 |
|
40 |
#undef OstTraceExt5 |
|
41 |
||
42 |
void SqlitePrintf(TInt aGroupName, TInt aTraceName, const char* aFormat, ...); |
|
43 |
||
44 |
#define OstTrace0 SqlitePrintf |
|
45 |
#define OstTrace1 SqlitePrintf |
|
46 |
#define OstTraceExt1 SqlitePrintf |
|
47 |
#define OstTraceExt2 SqlitePrintf |
|
48 |
#define OstTraceExt3 SqlitePrintf |
|
49 |
#define OstTraceExt4 SqlitePrintf |
|
50 |
#define OstTraceExt5 SqlitePrintf |
|
51 |
#endif//defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_RDEBUG_PRINT |
|
52 |
||
53 |
////////////////////////////////////////////////////////////////////////////////////// |
|
54 |
||
55 |
#endif//SQLITETRACEDEF_H |