F:/KPlato/koffice/libs/kross/core/krossconfig.h

Aller à la documentation de ce fichier.
00001 /***************************************************************************
00002  * krossconfig.h
00003  * This file is part of the KDE project
00004  * copyright (C)2004-2006 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>
00024 #include <koffice_export.h>
00025 
00026 namespace Kross {
00027 
00029     #define KROSS_DEBUG_ENABLED
00030 
00031     #ifdef KROSS_DEBUG_ENABLED
00032 
00036         KROSSCORE_EXPORT void krossdebug(const QString &s);
00037 
00041         KROSSCORE_EXPORT void krosswarning(const QString &s);
00042 
00043     #else
00044         // Define these to an empty statement if debugging is disabled.
00045         #define krossdebug(x)
00046         #define krosswarning(x)
00047     #endif
00048 
00049     #define KROSS_OBJECT_METACALL_DEBUG
00050     //#define KROSS_METATYPE_DEBUG
00051     //#define KROSS_INTERPRETER_DEBUG
00052     #define KROSS_ACTIONCOLLECTION_DEBUG
00053 
00054     // The name of the interpreter's library. Those library got loaded
00055     // dynamically during runtime. Comment out to disable compiling of
00056     // the interpreter-plugin or to hardcode the location of the lib
00057     // like I did at the following line.
00058 
00059     //#define KROSS_PYTHON_LIBRARY "/home/kde4/koffice/_build/lib/krosspython.la"
00060     #define KROSS_PYTHON_LIBRARY "krosspython"
00061     #define KROSS_RUBY_LIBRARY "krossruby"
00062     #define KROSS_KJS_LIBRARY "krosskjs"
00063 
00064 }
00065 
00066 #endif
00067 

Généré le Wed Nov 22 23:41:11 2006 pour KPlato par  doxygen 1.5.1-p1