sl@0: /* sl@0: * Copyright (c) 2002-2009 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: */ sl@0: sl@0: sl@0: sl@0: #ifndef TRACE_H sl@0: #define TRACE_H sl@0: sl@0: // INCLUDES sl@0: #include sl@0: sl@0: // PC-LINT OPTIONS sl@0: // Removes null statement not in line by itself warnings from sl@0: // COMPONENT_TRACE macros sl@0: //lint -esym(960,54) sl@0: sl@0: // Removes "area too small" pointer cast warnings. sl@0: //lint -e826 sl@0: sl@0: sl@0: sl@0: // CONSTANTS sl@0: // MACROS sl@0: #ifdef _DEBUG sl@0: sl@0: #ifdef TEST_PLUGIN_TRACE_FLAG sl@0: sl@0: #define TEST_PLUGIN_TRACE( a ) RDebug::Print a sl@0: sl@0: #else // #ifdef TEST_PLUGIN_TRACE_FLAG sl@0: sl@0: #define TEST_PLUGIN_TRACE( a ) sl@0: sl@0: #endif //#ifdef TEST_PLUGIN_TRACE_FLAG sl@0: sl@0: sl@0: #ifdef TEST_PLUGIN_API_TRACE_FLAG sl@0: sl@0: #define TEST_PLUGIN_API_TRACE( a ) RDebug::Print a sl@0: sl@0: #else //#ifdef TEST_PLUGIN_API_TRACE_FLAG sl@0: sl@0: #define TEST_PLUGIN_API_TRACE( a ) sl@0: sl@0: #endif //#ifdef TEST_PLUGIN_API_TRACE_FLAG sl@0: sl@0: #else // #ifdef _DEBUG sl@0: sl@0: #define TEST_PLUGIN_TRACE( a ) sl@0: #define TEST_PLUGIN_API_TRACE( a ) sl@0: sl@0: #endif //#ifdef _DEBUG sl@0: sl@0: sl@0: // DATA TYPES sl@0: // FUNCTION PROTOTYPES sl@0: // FORWARD DECLARATIONS sl@0: sl@0: #endif //#ifndef TRACE_H sl@0: