epoc32/include/e32utrace.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) 2007-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 the License "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
// Development Tools\UTF\e32utrace.mmh
williamr@4
    15
// Executables will need to define the SYMBIAN_INCLUDE_EXECUTABLE_TRACE macro flag in their 
williamr@4
    16
// mmp files in order for trace to be included. If this macro is not defined the stubbed trace dlls
williamr@4
    17
// will be used instead.
williamr@4
    18
// If SYMBIAN_INCLUDE_EXECUTABLE_TRACE is defined trace will be compiled into 
williamr@4
    19
// components by default but runtime switched off.
williamr@4
    20
// @publishedPartner
williamr@4
    21
// @prototype
williamr@4
    22
//
williamr@4
    23
williamr@4
    24
williamr@4
    25
// We want to use an enabled version of the API.
williamr@4
    26
#if defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
williamr@4
    27
	MACRO SYMBIAN_TRACE_EXECUTABLE_IS_INCLUDED
williamr@4
    28
	#ifdef NKERN_DIR
williamr@4
    29
		//LIBRARY utracekernel.lib //not implemented
williamr@4
    30
	#else //NKERN_DIR
williamr@4
    31
		LIBRARY utraceuser.lib
williamr@4
    32
	#endif //NKERN_DIR
williamr@4
    33
#endif
williamr@4
    34
williamr@4
    35
// We want to use a stubbed (disabled) version of the API.
williamr@4
    36
#if !defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
williamr@4
    37
	#ifdef NKERN_DIR 
williamr@4
    38
		//LIBRARY utracekernelstubbed.lib //not implemented
williamr@4
    39
	#else //NKERN_DIR
williamr@4
    40
		LIBRARY utraceuserstubbed.lib
williamr@4
    41
	#endif //NKERN_DIR
williamr@4
    42
#endif
williamr@4
    43