sysstatemgmt/systemstarter/src/SysStartDebug.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Contains private common debug macro definitions
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @internalComponent
       
    20  @deprecated
       
    21 */
       
    22 
       
    23 #if !defined (__SYSSTARTDEBUG_H__)
       
    24 #define __SYSSTARTDEBUG_H__
       
    25 
       
    26 #ifdef _DEBUG
       
    27 #include <e32debug.h>
       
    28 
       
    29 #define DEBUGPRINT1(_p1) RDebug::Print(_p1)
       
    30 #define DEBUGPRINT2(_p1,_p2) RDebug::Print(_p1,_p2)
       
    31 #define DEBUGPRINT3(_p1,_p2,_p3) RDebug::Print(_p1,_p2,_p3)
       
    32 #define DEBUGPRINT4(_p1,_p2,_p3,_p4) RDebug::Print(_p1,_p2,_p3,_p4)
       
    33 #else
       
    34 #define DEBUGPRINT1(_p1)
       
    35 #define DEBUGPRINT2(_p1,_p2)
       
    36 #define DEBUGPRINT3(_p1,_p2,_p3)
       
    37 #define DEBUGPRINT4(_p1,_p2,_p3,_p4)
       
    38 #endif
       
    39 
       
    40 #endif // __SYSSTARTDEBUG_H__