mmappcomponents/asxparser/inc/AsxParser_debug.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:58:40 +0300
changeset 25 d881023c13eb
parent 20 b1fb57be53fe
child 27 cbb1bfb7ebfb
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2008 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:  Defines macro for debug output
*
*/

// Version : %version: 4.1.3 %


#ifndef __MP_DEBUG_H__
#define __MP_DEBUG_H__

#include <e32svr.h>
#include <e32def.h>

class AsxParserDebug
{
    public:
        inline static void NullLog( TRefByValue<const TDesC16> /*aFmt*/, ... )
        {
        }
};

#ifdef _DEBUG
    #define ASX_DEBUG   RDebug::Print
#else
    #define ASX_DEBUG   AsxParserDebug::NullLog
#endif


#endif // __MP_DEBUG_H__