mmserv/radioutility/radioserver/Inc/RadioDebug.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Radio server debug macros.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef RADIODEBUG_H
       
    21 #define RADIODEBUG_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32svr.h>
       
    25 
       
    26 // DATA TYPES
       
    27 
       
    28 /**
       
    29 * Debug
       
    30 */
       
    31 #ifdef _DEBUG
       
    32 	#define RADIO_RDEBUG(X)		      	RDebug::Print(X)
       
    33     #define RADIO_RDEBUG_INT(X,Y)       RDebug::Print(X,Y)
       
    34     #define RADIO_RDEBUG_INT2(X,Y,Z)    RDebug::Print(X,Y,Z)
       
    35     #define RADIO_RDEBUG_INT3(X,Y,Z,Q)  RDebug::Print(X,Y,Z,Q)
       
    36 #else
       
    37 	#define RADIO_RDEBUG(X)
       
    38     #define RADIO_RDEBUG_INT(X,Y)
       
    39     #define RADIO_RDEBUG_INT2(X,Y,Z)
       
    40     #define RADIO_RDEBUG_INT3(X,Y,Z,Q)
       
    41 #endif
       
    42 
       
    43 #endif      // RADIODEBUG_H
       
    44 
       
    45 // End of File