tracesrv/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/header/ComplexHeaderRule.java
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     1 /*
       
     2 * Copyright (c) 2007 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 *
       
    16 * Rule which specifies that a trace cannot be represented by the normal trace API macros
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.engine.header;
       
    20 
       
    21 import com.nokia.tracecompiler.model.TraceObjectRule;
       
    22 
       
    23 /**
       
    24  * Rule which specifies that a trace cannot be represented by the normal trace
       
    25  * API macros
       
    26  * 
       
    27  */
       
    28 public interface ComplexHeaderRule extends TraceObjectRule {
       
    29 
       
    30 	/**
       
    31 	 * Returns true if an ext-function needs to be written for this trace
       
    32 	 * 
       
    33 	 * @return function flag
       
    34 	 */
       
    35 	public boolean needsFunction();
       
    36 
       
    37 	/**
       
    38 	 * Gets an extension to be added to the trace ID define
       
    39 	 * 
       
    40 	 * @return the extension
       
    41 	 */
       
    42 	public String getTraceIDDefineExtension();
       
    43 
       
    44 }