audio/ARM_CMMF_codecs/FrameTable/Inc/DebugMacros.h
changeset 34 31d6e1ae5283
parent 33 0267baa9dea9
child 36 6320e299b97a
child 38 4269ca484c7b
equal deleted inserted replaced
33:0267baa9dea9 34:31d6e1ae5283
     1 /*
       
     2 
       
     3 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     4 
       
     5 * All rights reserved.
       
     6 
       
     7 * This component and the accompanying materials are made available
       
     8 
       
     9 * under the terms of "Eclipse Public License v1.0"
       
    10 
       
    11 * which accompanies this distribution, and is available
       
    12 
       
    13 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    14 
       
    15 *
       
    16 
       
    17 * Initial Contributors:
       
    18 
       
    19 * Nokia Corporation - initial contribution.
       
    20 
       
    21 *
       
    22 
       
    23 * Contributors:
       
    24 
       
    25 *
       
    26 
       
    27 * Description:  Debug Macros used by AdvancedAudioController
       
    28 
       
    29 *
       
    30 
       
    31 */
       
    32 
       
    33 
       
    34 
       
    35 #ifndef __DEBUGMACROS_H__
       
    36 
       
    37 #define __DEBUGMACROS_H__
       
    38 
       
    39 
       
    40 
       
    41 // MACROS
       
    42 
       
    43 #ifdef _DEBUG
       
    44 
       
    45 #define DP0(string)                                 RDebug::Print(string)
       
    46 
       
    47 #define DP1(string,arg1)                            RDebug::Print(string,arg1)
       
    48 
       
    49 #define DP2(string,arg1,arg2)                       RDebug::Print(string,arg1,arg2)
       
    50 
       
    51 #define DP3(string,arg1,arg2,arg3)                  RDebug::Print(string,arg1,arg2,arg3)
       
    52 
       
    53 #define DP4(string,arg1,arg2,arg3,arg4)             RDebug::Print(string,arg1,arg2,arg3,arg4)
       
    54 
       
    55 #define DP5(string,arg1,arg2,arg3,arg4,arg5)        RDebug::Print(string,arg1,arg2,arg3,arg4,arg5)
       
    56 
       
    57 #define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6)   RDebug::Print(string,arg1,arg2,arg3,arg4,arg5,arg6)
       
    58 
       
    59 #else
       
    60 
       
    61 #define DP0(string)                            
       
    62 
       
    63 #define DP1(string,arg1)                       
       
    64 
       
    65 #define DP2(string,arg1,arg2)                  
       
    66 
       
    67 #define DP3(string,arg1,arg2,arg3)             
       
    68 
       
    69 #define DP4(string,arg1,arg2,arg3,arg4)             
       
    70 
       
    71 #define DP5(string,arg1,arg2,arg3,arg4,arg5)
       
    72 
       
    73 #define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6)
       
    74 
       
    75 #endif
       
    76 
       
    77 
       
    78 
       
    79 #endif //__DEBUGMACROS_H__
       
    80