multimediacommscontroller/mmccanysourcesink/inc/mccanysourcesinklogs.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCCANYSOURCESINKLOGS_H
       
    22 #define MCCANYSOURCESINKLOGS_H
       
    23 
       
    24 #include "mcclogs.h"
       
    25 
       
    26 _LIT(KAnySourceSink, "Mcc/AnySourceSink:");
       
    27 
       
    28 #ifdef _DEBUG
       
    29 	#define __MCC_ANYSOURCESINK_CONTROLL
       
    30 #endif // end of _DEBUG
       
    31 
       
    32 #ifdef __MCC_ANYSOURCESINK_CONTROLL
       
    33 	#define __ANYSOURCESINK_CONTROLL( a ) \
       
    34 		{  _LIT( KStr, a ); TMccLog::Print( KAnySourceSink, KStr ); }
       
    35 	#define __ANYSOURCESINK_CONTROLL_INT1( a, b ) \
       
    36 		{  _LIT( KStr, a ); TMccLog::Print( KAnySourceSink, KStr, b ); }
       
    37 #else
       
    38 	#define __ANYSOURCESINK_CONTROLL( a )
       
    39 	#define __ANYSOURCESINK_CONTROLL_INT1( a, b )
       
    40 #endif // end of ifdef __MCC_ANYSOURCESINK_CONTROLL
       
    41 
       
    42 #endif // End of define MCCANYSOURCESINKLOGS_H
       
    43 
       
    44 // end of file