epoc32/include/usb/usblogger.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
/*
williamr@4
     2
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description:
williamr@4
    15
* When checking this file into perforce, ensure that
williamr@4
    16
* LOGGING IS DISABLED FOR RELEASE BUILDS.
williamr@4
    17
* This file is not to be used outside Symbian.
williamr@4
    18
* It is largely a copy of commsdebugutility.mmh.
williamr@4
    19
* When the new logger comes in that provides the functionality we want 
williamr@4
    20
* (specifically, 'connected' logging using TLS), we can remove our own logger 
williamr@4
    21
* dll entirely, including this file. [We'll still possibly need a header with 
williamr@4
    22
* our nice function entry/exit, leave and panic macros though.]
williamr@4
    23
*
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 usblogger.lib
williamr@4
    62
		#else
williamr@4
    63
			LIBRARY usblogger.lib
williamr@4
    64
		#endif
williamr@4
    65
	#endif
williamr@4
    66
#endif
williamr@4
    67