multimediacommscontroller/mmccMsrppayloadformat/inc/msrppayloadformatdefs.h
branchrcs
changeset 49 64c62431ac08
child 50 1d8943dd8be6
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:    Provides a comfort noise generator class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MSRPPAYLOADFORMATDEFS_H
       
    20 #define MSRPPAYLOADFORMATDEFS_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 #ifdef _DEBUG
       
    26     #include <e32svr.h>
       
    27     #define DEBUG_MSRP_WRITE
       
    28 #endif
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // MACROS
       
    33 #ifdef DEBUG_MSRP_WRITE
       
    34 
       
    35     #define DP_MSRP_WRITE(a) { _LIT( KName, a); RDebug::Print(KName); }
       
    36     #define DP_MSRP_WRITE2(a, b) \
       
    37     	{ _LIT(KName, a); RDebug::Print(KName, b); }
       
    38     #define DP_MSRP_WRITE3(a, b, c) \
       
    39  		{ _LIT(KName, a);  RDebug::Print(KName, b, c); } 
       
    40  		
       
    41  	#define DP_MSRP_WRITE_INT(a) \
       
    42  	{ RDebug::Print(_L("Value - VAL: %d"), a);  }
       
    43  	 		
       
    44 #else
       
    45     #define DP_MSRP_WRITE(a);
       
    46     #define DP_MSRP_WRITE2(a, b);
       
    47     #define DP_MSRP_WRITE3(a, b, c);
       
    48     #define DP_MSRP_WRITE_INT(a);
       
    49 #endif
       
    50 
       
    51 #endif      // MSRPPAYLOADFORMATDEFS_H
       
    52             
       
    53 // End of File