locationsystemui/locationsysui/locpsysettings/locpsysettingsui/inc/locpsyappdebug.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2002,2005 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:  LocAppDebug contains debug macros.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef LOCPSYAPPDEBUG_H 
       
    20 #define LOCPSYAPPDEBUG_H
       
    21 
       
    22 // SYSTEM INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // USER INCLUDES
       
    26 #include "locpsyengdebug.h"
       
    27 
       
    28 // MACROS
       
    29 
       
    30 /**
       
    31 * By using component specific debug macros unnecessary 
       
    32 * calls to LocUtils.dll can be avoided.
       
    33 */
       
    34 
       
    35 #ifdef LOC_ENABLE_DEBUG_PRINT
       
    36 #define LOCAPPDEBUG(TEXT) DEBUG(TEXT)
       
    37 #define LOCAPPDEBUG1(TEXT, ARG1) LOC(TEXT, ARG1)
       
    38 #define LOCAPPDEBUG2(TEXT, ARG1, ARG2) LOC2(TEXT, ARG1, ARG2)
       
    39 #define LOCAPPDEBUG3(TEXT, ARG1, ARG2, ARG3) LOC3(TEXT, ARG1, ARG2, ARG3)
       
    40 #else
       
    41 #define LOCAPPDEBUG(TEXT)
       
    42 #define LOCAPPDEBUG1(TEXT, ARG1)
       
    43 #define LOCAPPDEBUG2(TEXT, ARG1, ARG2)
       
    44 #define LOCAPPDEBUG3(TEXT, ARG1, ARG2, ARG3)
       
    45 #endif
       
    46 
       
    47 #endif // LOCPSYAPPDEBUG_H