textinput/peninputvkbkr/inc/PeninputVkbKrDbg.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:59:43 +0300
branchRCL_3
changeset 9 e6a39382bb9c
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* Copyright (c) 2002-2005 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:  peninput VKB data manager
*
*/

#ifndef __PENINPUTVKBKRDBG_H__
#define __PENINPUTVKBKRDBG_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 /* __PENINPUTVKBKRDBG_H__ */