calendarwidgetplugin/inc/calendarwidgetdebug.h
changeset 0 db1bf15cefff
equal deleted inserted replaced
-1:000000000000 0:db1bf15cefff
       
     1 /*
       
     2 * Copyright (c) 2009 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: Home screen calendar widget
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CALENDARWIDGETDEBUG_H_
       
    19 #define CALENDARWIDGETDEBUG_H_
       
    20 
       
    21 // System includes
       
    22 #include <QDebug>
       
    23 
       
    24 // MACROS
       
    25 // Writing data into log
       
    26 // LOGS("My log string");
       
    27 
       
    28 #ifndef _DEBUG
       
    29     // No logging wanted --> define empty macros
       
    30 
       
    31     #define LOGS(A)
       
    32 
       
    33 #else // qDebug logging
       
    34     #define LOGS(A) { qDebug() << A; }
       
    35 #endif
       
    36 
       
    37 #endif /* CALENDARWIDGETDEBUG_H_ */