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