tracesrv/tracecore/tracecert/inc/trace_certification.h
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     1 // Copyright (c) 2010 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 "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 //
       
    15 
       
    16 #ifndef __TRACE_CERTIFICATION_H__
       
    17 #define __TRACE_CERTIFICATION_H__
       
    18 
       
    19 
       
    20 class TraceCertification
       
    21     {			  
       
    22     public:
       
    23         /**
       
    24          * Get the trace certification status.
       
    25          * This method is called once by TraceCore on initialisation (i.e. during boot of device) to
       
    26          * check whether tracing is certified on the device. It is not called again.
       
    27          * If this method returns EFalse, then TraceCore will suppress traces (except Printf traces).
       
    28          * If this method return ETrue then all traces will come through.
       
    29          * If reimplementing this method it is recommended that the call is not too time consuming,
       
    30          * so that boot time of device is not overly impacted.
       
    31          * @publishedAll
       
    32          * @return ETrue if tracing is certified or EFalse otherwise
       
    33          */
       
    34         IMPORT_C static TBool IsTraceCertified();
       
    35 
       
    36     };
       
    37 
       
    38 #endif // __TRACE_CERTIFICATION_H__