omacpadapters/cpdestinationnwadapter/inc/wpdestinationnwdebug.h
changeset 67 fdbfe0a95492
equal deleted inserted replaced
62:03849bd79877 67:fdbfe0a95492
       
     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:   Enables and disables debug prints.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef WPDESTINATIONNWDEBUG_H
       
    21 #define WPDESTINATIONNWDEBUG_H
       
    22 
       
    23 #include <e32debug.h>
       
    24 
       
    25 #ifdef _DEBUG
       
    26 #define DBG_PRINT( p )          RDebug::Print( _L( p ) )
       
    27 #define DBG_PRINT_2( p, i )     RDebug::Print( _L( p ), i )
       
    28 #define DBG_PRINT_3( p, i, u )  RDebug::Print( _L( p ), i, u )
       
    29 #else
       
    30 #define DBG_PRINT( p )
       
    31 #define DBG_PRINT_2( p, i )
       
    32 #define DBG_PRINT_3( p, i, u )
       
    33 #endif // _DEBUG
       
    34 
       
    35 
       
    36 #endif // WPDESTINATIONNWDEBUG_H