• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kfloppy

debug.h

Go to the documentation of this file.
00001 /*
00002     
00003     This file is part of the KFloppy program, part of the KDE project
00004     
00005     Copyright (C) 2003 Adriaan de Groot <groot@kde.org>
00006     
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or
00010     (at your option) any later version.
00011     
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00015     GNU General Public License for more details.
00016     
00017     You should have received a copy of the GNU General Public License
00018     along with this program in a file called COPYING; if not, write to
00019     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00020     MA 02110-1301, USA.
00021 
00022 */
00023 
00024 #ifndef DEBUG_H
00025 #define DEBUG_H
00026 
00039 #define KFAREA      (2002)
00040 
00041 #ifndef NDEBUG
00042 #define DEBUGSETUP  kDebug(KFAREA) << (__PRETTY_FUNCTION__) 
00043 #define DEBUGS(a)   kDebug(KFAREA) << "  " << a 
00044 #else
00045 #define DEBUGSETUP
00046 #define DEBUGS(a)
00047 #endif
00048 
00049 
00050 // Detect vaguely what OS we're working with. Map variants
00051 // to one known kind.
00052 //
00053 //
00054 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
00055 #define ANY_BSD (1)
00056 #else
00057 #if defined(linux) || defined(LINUX) || defined (__linux) || defined(__linux__)
00058 #define ANY_LINUX (1)
00059 #endif
00060 #endif
00061 
00062 
00063 
00064 #endif
00065 

kfloppy

Skip menu "kfloppy"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal