• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kgoldrunner

  • sources
  • kde-4.14
  • kdegames
  • kgoldrunner
  • src
kgrdebug.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright 2009 Ian Wadham <iandw.au@gmail.com> *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 2 of *
7  * the License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
16  ****************************************************************************/
17 
18 #ifndef KGRDEBUG_H
19 #define KGRDEBUG_H
20 
21 static int dbgLevel = 0; // Local to file where kgrdebug.h is included.
22 
23 #define dbk kDebug()
24 #define dbk1 if(dbgLevel>=1)kDebug()
25 #define dbk2 if(dbgLevel>=2)kDebug()
26 #define dbk3 if(dbgLevel>=3)kDebug()
27 
28 #define dbo printf(
29 #define dbo1 if(dbgLevel>=1)printf(
30 #define dbo2 if(dbgLevel>=2)printf(
31 #define dbo3 if(dbgLevel>=3)printf(
32 
33 #define dbe fprintf(stderr,
34 #define dbe1 if(dbgLevel>=1)fprintf(stderr,
35 #define dbe2 if(dbgLevel>=2)fprintf(stderr,
36 #define dbe3 if(dbgLevel>=3)fprintf(stderr,
37 
38 #endif
dbgLevel
static int dbgLevel
Definition: kgrdebug.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgoldrunner

Skip menu "kgoldrunner"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal