sl@0: // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: #ifndef SQLITETRACEDEF_H sl@0: #define SQLITETRACEDEF_H sl@0: sl@0: #include sl@0: #include "SqliteUtil.h" sl@0: sl@0: ////////////////////////////////////////////////////////////////////////////////////// sl@0: sl@0: #if defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_OS_TRACE_ENABLED sl@0: #define __SQLITETRACE_OSVAR(var) var sl@0: #define __SQLITETRACE_OSEXPR(expr) expr sl@0: #else sl@0: #define __SQLITETRACE_OSVAR(var) sl@0: #define __SQLITETRACE_OSEXPR(expr) sl@0: #endif sl@0: sl@0: ////////////////////////////////////////////////////////////////////////////////////// sl@0: sl@0: #if defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_RDEBUG_PRINT sl@0: #undef OstTrace0 sl@0: #undef OstTrace1 sl@0: #undef OstTraceExt1 sl@0: #undef OstTraceExt2 sl@0: #undef OstTraceExt3 sl@0: #undef OstTraceExt4 sl@0: #undef OstTraceExt5 sl@0: sl@0: void SqlitePrintf(TInt aGroupName, TInt aTraceName, const char* aFormat, ...); sl@0: sl@0: #define OstTrace0 SqlitePrintf sl@0: #define OstTrace1 SqlitePrintf sl@0: #define OstTraceExt1 SqlitePrintf sl@0: #define OstTraceExt2 SqlitePrintf sl@0: #define OstTraceExt3 SqlitePrintf sl@0: #define OstTraceExt4 SqlitePrintf sl@0: #define OstTraceExt5 SqlitePrintf sl@0: #endif//defined OST_TRACE_COMPILER_IN_USE && defined _SQLITE_RDEBUG_PRINT sl@0: sl@0: ////////////////////////////////////////////////////////////////////////////////////// sl@0: sl@0: #endif//SQLITETRACEDEF_H