epoc32/include/comms-infras/commsdebugutility.mmh
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/comms-infras/commsdebugutility.mmh	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,64 @@
     1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Comms-infras\CommsDebugUtility\commsdebugutility.mmh
    1.18 +// This MMP header file is exported to \EPOC32\include
    1.19 +// As such, only change the log setting from the exported copy.
    1.20 +// When checking this file into perforce, ensure that
    1.21 +// LOGGING IS DISABLED FOR RELEASE BUILDS.
    1.22 +// 
    1.23 +//
    1.24 +
    1.25 +
    1.26 +// Uncomment next line to temporarily engage logging for release builds.
    1.27 +//#define __FLOGGER_UREL
    1.28 +// Comment next line to temporarily disengage logging for debug builds
    1.29 +#define __FLOGGER_UDEB
    1.30 +
    1.31 +// Determine whether, and how, flogger is to be included
    1.32 +#ifdef __FLOGGER_UREL
    1.33 +	#ifdef __FLOGGER_UDEB
    1.34 +	#define __FLOGGER_INCLUDED
    1.35 +	MACRO __FLOG_UREL
    1.36 +	#endif
    1.37 +#endif
    1.38 +#ifdef __FLOGGER_UREL
    1.39 +	#ifndef __FLOGGER_UDEB
    1.40 +	#define __FLOGGER_INCLUDED
    1.41 +	MACRO __FLOG_UREL
    1.42 +	MACRO __FLOG_NO_UDEB
    1.43 +	#endif
    1.44 +#endif
    1.45 +#ifndef __FLOGGER_UREL
    1.46 +	#ifndef __FLOGGER_UDEB
    1.47 +	MACRO __FLOG_NO_UDEB
    1.48 +	#endif
    1.49 +#endif
    1.50 +#ifndef __FLOGGER_UREL
    1.51 +	#ifdef __FLOGGER_UDEB
    1.52 +	#define __FLOGGER_INCLUDED
    1.53 +	#define __FLOGGER_DEBUGGERLIBRARY
    1.54 +	#endif
    1.55 +#endif
    1.56 +
    1.57 +
    1.58 +#ifdef __FLOGGER_INCLUDED
    1.59 +	#ifndef __FLOGGER_SUPPRESS_LIBRARY
    1.60 +		#ifdef __FLOGGER_DEBUGGERLIBRARY
    1.61 +			DEBUGLIBRARY comsdbgutil.lib
    1.62 +		#else
    1.63 +			LIBRARY comsdbgutil.lib
    1.64 +		#endif
    1.65 +	#endif
    1.66 +#endif
    1.67 +