epoc32/include/bluetooth/btlogger.mmh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // When checking this file into perforce, ensure that
    15 // LOGGING IS DISABLED FOR RELEASE BUILDS.
    16 // PREQ505 - "Easy and consistent configuration of component traces"
    17 // If we're keeping this file, #include it correctly in dependent MMP files, and move it to 
    18 // 'public'.
    19 // 
    20 //
    21 
    22 /**
    23  @todo remove this mmh file in favour of the System Wide Trace Mechanism to be introduced in 
    24 */
    25 
    26 // Uncomment next line to temporarily engage logging for release builds.
    27 //#define __FLOGGER_UREL
    28 // Comment next line to temporarily disengage logging for debug builds
    29 #define __FLOGGER_UDEB
    30 
    31 // Determine whether, and how, flogger is to be included
    32 #ifdef __FLOGGER_UREL
    33 	#ifdef __FLOGGER_UDEB
    34 	#define __FLOGGER_INCLUDED
    35 	MACRO __FLOG_UREL
    36 	#endif
    37 #endif
    38 #ifdef __FLOGGER_UREL
    39 	#ifndef __FLOGGER_UDEB
    40 	#define __FLOGGER_INCLUDED
    41 	MACRO __FLOG_UREL
    42 	MACRO __FLOG_NO_UDEB
    43 	#endif
    44 #endif
    45 #ifndef __FLOGGER_UREL
    46 	#ifndef __FLOGGER_UDEB
    47 	MACRO __FLOG_NO_UDEB
    48 	#endif
    49 #endif
    50 #ifndef __FLOGGER_UREL
    51 	#ifdef __FLOGGER_UDEB
    52 	#define __FLOGGER_INCLUDED
    53 	#define __FLOGGER_DEBUGGERLIBRARY
    54 	#endif
    55 #endif
    56 
    57 
    58 #ifdef __FLOGGER_INCLUDED
    59 	#ifndef __FLOGGER_SUPPRESS_LIBRARY
    60 		#ifdef __FLOGGER_DEBUGGERLIBRARY
    61 			DEBUGLIBRARY btlogger.lib
    62 		#else
    63 			LIBRARY btlogger.lib
    64 		#endif
    65 	#endif
    66 #endif
    67