systemhealthmanagement/systemhealthmgr/localinc/shmadebug.h
author William Roberts <williamr@symbian.org>
Fri, 28 May 2010 14:18:28 +0100
branchRCL_3
changeset 32 5ced40f3c181
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Re-merge workaround for bug 2620

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Contains private common debug macro definitions
// 
//

/**
 @internalComponent
 @released
*/

#if !defined (__SHMADEBUG_H__)
#define __SHMADEBUG_H__

#ifdef _DEBUG
#include <e32debug.h>

#define DEBUGPRINT1(_p1) RDebug::Print(_p1)
#define DEBUGPRINT2(_p1,_p2) RDebug::Print(_p1,_p2)
#define DEBUGPRINT3(_p1,_p2,_p3) RDebug::Print(_p1,_p2,_p3)
#define DEBUGPRINT4(_p1,_p2,_p3,_p4) RDebug::Print(_p1,_p2,_p3,_p4)
#else
#define DEBUGPRINT1(_p1)
#define DEBUGPRINT2(_p1,_p2)
#define DEBUGPRINT3(_p1,_p2,_p3)
#define DEBUGPRINT4(_p1,_p2,_p3,_p4)
#endif

#endif // __SHMADEBUG_H__