fep/aknfep/peninputplugins/PeninputPluginKr/inc/PeninputPluginKrDbg.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __PENINPUTPLUGINKRDBG_H__
       
    19 #define __PENINPUTPLUGINKRDBG_H__
       
    20 
       
    21 #ifdef _DEBUG
       
    22 #include <e32svr.h>
       
    23     #if __WINS__
       
    24         #define LOG_ASSERT(a) RDebug::Print(_L("PKQC: "a)); __ASSERT_DEBUG(EFalse,User::Panic(_L("PKQC: Not Implemented"),__LINE__))
       
    25         #define LOG(a) RDebug::Print(_L("PKQC: "a))
       
    26         #define LOG1(a,b) RDebug::Print(_L("PKQC: "a),b)
       
    27         #define LOG2(a,b,c) RDebug::Print(_L("PKQC: "a),b,c)
       
    28         #define LOG3(a,b,c,d) RDebug::Print(_L("PKQC: "a),b,c,d)
       
    29         #define LOG4(a,b,c,d,e) RDebug::Print(_L("PKQC: "a),b,c,d,e)
       
    30     #else
       
    31         #define LOG_ASSERT(a) RDebug::Print(_L(a)); __ASSERT_DEBUG(EFalse,User::Panic(_L("PKQC: Not Implemented"),__LINE__))
       
    32         #define LOG(a) RDebug::Print(_L(a))
       
    33         #define LOG1(a,b) RDebug::Print(_L(a),b)
       
    34         #define LOG2(a,b,c) RDebug::Print(_L(a),b,c)
       
    35         #define LOG3(a,b,c,d) RDebug::Print(_L(a),b,c,d)
       
    36         #define LOG4(a,b,c,d,e) RDebug::Print(_L(a),b,c,d,e)
       
    37     #endif
       
    38 #else
       
    39     #define LOG_ASSERT(a)
       
    40     #define LOG(a)
       
    41     #define LOG1(a,b)
       
    42     #define LOG2(a,b,c)
       
    43     #define LOG3(a,b,c,d)
       
    44     #define LOG4(a,b,c,d,e)
       
    45 #endif
       
    46 
       
    47 #endif /* __PENINPUTPLUGINKRDBG_H__ */