lib
krossconfig.h
00001 /*************************************************************************** 00002 * krossconfig.h 00003 * This file is part of the KDE project 00004 * copyright (C)2004-2005 by Sebastian Sauer (mail@dipe.org) 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * You should have received a copy of the GNU Library General Public License 00015 * along with this program; see the file COPYING. If not, write to 00016 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 * Boston, MA 02110-1301, USA. 00018 ***************************************************************************/ 00019 00020 #ifndef KROSS_MAIN_KROSSCONFIG_H 00021 #define KROSS_MAIN_KROSSCONFIG_H 00022 00023 #include <qstring.h> 00024 00050 namespace Kross { 00051 00053 #define KROSS_DEBUG_ENABLED 00054 00055 #ifdef KROSS_DEBUG_ENABLED 00056 00060 void krossdebug(const QString &s); 00061 00065 void krosswarning(const QString &s); 00066 00067 #else 00068 // Define these to an empty statement if debugging is disabled. 00069 #define krossdebug(x) 00070 #define krosswarning(x) 00071 #endif 00072 00086 namespace Api { 00087 00088 //#define KROSS_API_OBJECT_CTOR_DEBUG 00089 //#define KROSS_API_OBJECT_DTOR_DEBUG 00090 //#define KROSS_API_OBJECT_ADDCHILD_DEBUG 00091 //#define KROSS_API_OBJECT_REMCHILD_DEBUG 00092 //#define KROSS_API_OBJECT_CALL_DEBUG 00093 00094 //#define KROSS_API_EVENT_CALL_DEBUG 00095 00096 //#define KROSS_API_CALLABLE_CALL_DEBUG 00097 //#define KROSS_API_CALLABLE_CHECKARG_DEBUG 00098 00099 //#define KROSS_API_EVENTSLOT_CALL_DEBUG 00100 //#define KROSS_API_EVENTSIGNAL_CALL_DEBUG 00101 00102 // The name of the interpreter's library. Those library got loaded 00103 // dynamicly during runtime. Comment out to disable compiling of 00104 // the interpreter-plugin or to hardcode the location of the lib 00105 // like I did at the following line. 00106 00107 //#define KROSS_PYTHON_LIBRARY "/home/snoopy/cvs/kde/trunk/koffice/lib/kross/python/krosspython.la" 00108 #define KROSS_PYTHON_LIBRARY "krosspython" 00109 #define KROSS_RUBY_LIBRARY "krossruby" 00110 00111 } 00112 00113 } 00114 00115 #endif 00116