Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
lib
lib
lib
kross
api
krossdebug.h
1
/***************************************************************************
2
* krossdebug.h
3
* This file is part of the TDE project
4
* copyright (C)2004-2005 by Sebastian Sauer (mail@dipe.org)
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
* You should have received a copy of the GNU Library General Public License
15
* along with this program; see the file COPYING. If not, write to
16
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
18
***************************************************************************/
19
20
#ifndef KROSS_MAIN_KROSSDEBUG_H
21
#define KROSS_MAIN_KROSSDEBUG_H
22
23
#include "koffice_export.h"
24
25
class
TQString;
26
27
namespace
Kross
28
{
29
31
#define KROSS_DEBUG_ENABLED
32
33
#ifdef KROSS_DEBUG_ENABLED
34
38
KOFFICE_EXPORT
void
krossdebug
(
const
TQString &s);
39
43
KOFFICE_EXPORT
void
krosswarning
(
const
TQString &s);
44
45
#else
46
// Define these to an empty statement if debugging is disabled.
47
#define krossdebug(x)
48
#define krosswarning(x)
49
#endif
50
}
51
52
#endif
Kross
The Kross scripting bridge to embed scripting functionality into an application.
Definition
callable.h:33
Kross::krossdebug
KOFFICE_EXPORT void krossdebug(const TQString &s)
Debugging function.
Definition
krossdebug.cpp:28
Kross::krosswarning
KOFFICE_EXPORT void krosswarning(const TQString &s)
Warning function.
Definition
krossdebug.cpp:33
lib
Skip menu "lib"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
lib
Skip menu "lib"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib