kernel/eka/include/opensystemtrace.mmh
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Development Tools\OST\opensystemtrace.mmh
       
    15 // Executables will need to define the SYMBIAN_INCLUDE_EXECUTABLE_TRACE macro flag in their 
       
    16 // mmp files in order for trace to be included. If this macro is not defined the stubbed trace dlls
       
    17 // will be used instead.
       
    18 // If SYMBIAN_INCLUDE_EXECUTABLE_TRACE is defined trace will be compiled into 
       
    19 // components by default but runtime switched off.
       
    20 //
       
    21 
       
    22 /*
       
    23  * @deprecated
       
    24  */
       
    25 
       
    26 // We want to use an enabled version of the API.
       
    27 #if defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
       
    28 	MACRO SYMBIAN_TRACE_EXECUTABLE_IS_INCLUDED
       
    29 	#ifdef NKERN_DIR
       
    30 		//LIBRARY ostkernel.lib //not implemented
       
    31 	#else //NKERN_DIR
       
    32 		LIBRARY ostuser.lib
       
    33 	#endif //NKERN_DIR
       
    34 #endif
       
    35 
       
    36 // We want to use a stubbed (disabled) version of the API.
       
    37 #if !defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
       
    38 	#ifdef NKERN_DIR 
       
    39 		//LIBRARY ostkernelstubbed.lib //not implemented
       
    40 	#else //NKERN_DIR
       
    41 		LIBRARY ostuserstubbed.lib
       
    42 	#endif //NKERN_DIR
       
    43 #endif