lib

krossconfig.h
1/***************************************************************************
2 * krossconfig.h
3 * This file is part of the KDE 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_KROSSCONFIG_H
21#define KROSS_MAIN_KROSSCONFIG_H
22
23#include <tqstring.h>
24
50namespace Kross {
51
53 #define KROSS_DEBUG_ENABLED
54
55 #ifdef KROSS_DEBUG_ENABLED
56
60 void krossdebug(const TQString &s);
61
65 void krosswarning(const TQString &s);
66
67 #else
68 // Define these to an empty statement if debugging is disabled.
69 #define krossdebug(x)
70 #define krosswarning(x)
71 #endif
72
86 namespace Api {
87
88 //#define KROSS_API_OBJECT_CTOR_DEBUG
89 //#define KROSS_API_OBJECT_DTOR_DEBUG
90 //#define KROSS_API_OBJECT_ADDCHILD_DEBUG
91 //#define KROSS_API_OBJECT_REMCHILD_DEBUG
92 //#define KROSS_API_OBJECT_CALL_DEBUG
93
94 //#define KROSS_API_EVENT_CALL_DEBUG
95
96 //#define KROSS_API_CALLABLE_CALL_DEBUG
97 //#define KROSS_API_CALLABLE_CHECKARG_DEBUG
98
99 //#define KROSS_API_EVENTSLOT_CALL_DEBUG
100 //#define KROSS_API_EVENTSIGNAL_CALL_DEBUG
101
102 // The name of the interpreter's library. Those library got loaded
103 // dynamicly during runtime. Comment out to disable compiling of
104 // the interpreter-plugin or to hardcode the location of the lib
105 // like I did at the following line.
106
107 //#define KROSS_PYTHON_LIBRARY "/home/snoopy/cvs/kde/trunk/koffice/lib/kross/python/krosspython.la"
108 #define KROSS_PYTHON_LIBRARY "krosspython"
109 #define KROSS_RUBY_LIBRARY "krossruby"
110
111 }
112
113}
114
115#endif
116
The common Kross API used as common codebase.
Definition callable.h:31
The Kross scripting bridge to embed scripting functionality into an application.
Definition callable.h:31
void krossdebug(const TQString &s)
Debugging function.
void krosswarning(const TQString &s)
Warning function.