fep/aknfep/peninputplugins/PeninputPluginKr/inc/PeninputPluginKrDbg.h
author Simon Howkins <simonh@symbian.org>
Mon, 15 Nov 2010 14:00:51 +0000
branchRCL_3
changeset 59 7febbd162ded
parent 0 eb1f2e154e89
permissions -rw-r--r--
Removed unnecessary #ifdef guards around an inclusion - the included file has them anyway.

/*
* Copyright (c) 2002-2006 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:
*
*/

#ifndef __PENINPUTPLUGINKRDBG_H__
#define __PENINPUTPLUGINKRDBG_H__

#ifdef _DEBUG
#include <e32svr.h>
    #if __WINS__
        #define LOG_ASSERT(a) RDebug::Print(_L("PKQC: "a)); __ASSERT_DEBUG(EFalse,User::Panic(_L("PKQC: Not Implemented"),__LINE__))
        #define LOG(a) RDebug::Print(_L("PKQC: "a))
        #define LOG1(a,b) RDebug::Print(_L("PKQC: "a),b)
        #define LOG2(a,b,c) RDebug::Print(_L("PKQC: "a),b,c)
        #define LOG3(a,b,c,d) RDebug::Print(_L("PKQC: "a),b,c,d)
        #define LOG4(a,b,c,d,e) RDebug::Print(_L("PKQC: "a),b,c,d,e)
    #else
        #define LOG_ASSERT(a) RDebug::Print(_L(a)); __ASSERT_DEBUG(EFalse,User::Panic(_L("PKQC: Not Implemented"),__LINE__))
        #define LOG(a) RDebug::Print(_L(a))
        #define LOG1(a,b) RDebug::Print(_L(a),b)
        #define LOG2(a,b,c) RDebug::Print(_L(a),b,c)
        #define LOG3(a,b,c,d) RDebug::Print(_L(a),b,c,d)
        #define LOG4(a,b,c,d,e) RDebug::Print(_L(a),b,c,d,e)
    #endif
#else
    #define LOG_ASSERT(a)
    #define LOG(a)
    #define LOG1(a,b)
    #define LOG2(a,b,c)
    #define LOG3(a,b,c,d)
    #define LOG4(a,b,c,d,e)
#endif

#endif /* __PENINPUTPLUGINKRDBG_H__ */