profilesservices/ProfileEngine/group/ProfilesDebug.h
changeset 0 8c5d936e5675
equal deleted inserted replaced
-1:000000000000 0:8c5d936e5675
       
     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:    Debug macros for Profiles.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PROFILESDEBUG_H
       
    20 #define PROFILESDEBUG_H
       
    21 
       
    22 #include <e32debug.h>
       
    23 
       
    24 #ifdef _DEBUG
       
    25 #define PRODEBUG(a) RDebug::Print( _L( a ) )
       
    26 #define PRODEBUG1(a,b) RDebug::Print( _L( a ),b )
       
    27 #define PRODEBUG2(a,b,c) RDebug::Print( _L( a ),b,c )
       
    28 #define PRODEBUG3(a,b,c,d) RDebug::Print( _L( a ),b,c,d )
       
    29 #else
       
    30 #define PRODEBUG(a) 
       
    31 #define PRODEBUG1(a,b) 
       
    32 #define PRODEBUG2(a,b,c) 
       
    33 #define PRODEBUG3(a,b,c,d) 
       
    34 #endif // _DEBUG
       
    35 
       
    36 #endif // PROFILESDEBUG_H
       
    37 
       
    38 // End of File
       
    39