mmmw_plat/telephony_multimedia_service_api/tsrc/TmsAudioServicesTestClass/inc/debug.h
changeset 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2  * Copyright (c) 2009 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: Telephony Multimedia Service - STIF TEST
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef DEBUG_H
       
    19 #define DEBUG_H
       
    20 
       
    21 //INCLUDES
       
    22 #include <f32file.h>
       
    23 #define FTRACE(a) {a;}
       
    24 
       
    25 /**
       
    26 * Declare the FPrint function
       
    27 * @return none
       
    28 */
       
    29 inline void FPrint(const TRefByValue<const TDesC> aFmt, ...)
       
    30     {
       
    31     VA_LIST list;
       
    32     VA_START(list,aFmt);
       
    33     TInt tmpInt = VA_ARG(list, TInt);
       
    34     TInt tmpInt2 = VA_ARG(list, TInt);
       
    35     TInt tmpInt3 = VA_ARG(list, TInt);
       
    36     VA_END(list);
       
    37     #ifdef _DEBUG
       
    38     RDebug::Print(aFmt, tmpInt, tmpInt2, tmpInt3);
       
    39     #endif
       
    40     }
       
    41 #endif // DEBUG_H
       
    42 
       
    43 // End of File