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