multimediacommscontroller/mmcch263payloadformat/inc/mcch263formatlogs.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 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 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCCH263FORMATLOGS_H
       
    22 #define MCCH263FORMATLOGS_H
       
    23 
       
    24 #include "mcclogs.h"
       
    25 _LIT(KH263Format, "Mcc/H263Format:");
       
    26 
       
    27 #ifdef _DEBUG
       
    28 	#define __MCC_H263FORMAT_CONTROLL
       
    29 	#define __MCC_H263FORMAT_MEDIA
       
    30 #endif // end of _DEBUG
       
    31 
       
    32 #ifdef __MCC_H263FORMAT_CONTROLL
       
    33 	#define __H263FORMAT_CONTROLL( a ) \
       
    34 		{  _LIT( KStr, a ); TMccLog::Print( KH263Format, KStr ); }
       
    35 	#define __H263FORMAT_CONTROLL_INT1( a, b ) \
       
    36 		{  _LIT( KStr, a ); TMccLog::Print( KH263Format, KStr, b ); }
       
    37 	#define __H263FORMAT_CONTROLL_INT2( a, b, c, d ) \
       
    38 		{ _LIT( KStr1, a ); _LIT( KStr2, c ); \
       
    39 		  TMccLog::Print( KH263Format, KStr1, b, KStr2, d ); }
       
    40 #else
       
    41 	#define __H263FORMAT_CONTROLL( a )
       
    42 	#define __H263FORMAT_CONTROLL_INT1( a, b )
       
    43 	#define __H263FORMAT_CONTROLL_INT2( a, b, c, d )
       
    44 #endif // end of ifdef __MCC_H263FORMAT_CONTROLL
       
    45 
       
    46 #ifdef __MCC_H263FORMAT_MEDIA
       
    47 	#define __H263FORMAT_MEDIA( a )	\
       
    48 		{  _LIT( KStr, a ); TMccLog::Print( KH263Format, KStr ); }
       
    49 	#define __H263FORMAT_MEDIA_INT1( a, b ) 	\
       
    50 		{  _LIT( KStr, a ); TMccLog::Print( KH263Format, KStr, b ); }
       
    51 	#define __H263FORMAT_MEDIA_INT2( a, b, c, d ) \
       
    52 		{  _LIT( KStr1, a ); _LIT( KStr2, c ); \
       
    53 		   TMccLog::Print( KH263Format, KStr1, b, KStr2, d ); }
       
    54 #else
       
    55 	#define __H263FORMAT_MEDIA( a )
       
    56 	#define __H263FORMAT_MEDIA_INT1( a, b )
       
    57 	#define __H263FORMAT_MEDIA_INT2( a, b, c, d )
       
    58 #endif // end of ifdef __MCC_H263FORMAT_MEDIA
       
    59 
       
    60 #endif // End of define MCCH263FORMATLOGS_H
       
    61 
       
    62 // end of file