kexi

kexi_export.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2003-2004 Jaroslaw Staniek <js@iidea.pl>
00003 
00004    This program is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
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 _KEXI_EXPORT_H_
00021 #define _KEXI_EXPORT_H_
00022 
00023 #include <kexidb/kexidb_export.h>
00024 
00025 #ifdef MAKE_KEXICORE_LIB
00026 # define KEXICORE_EXPORT KDE_EXPORT
00027 #elif defined(KDE_MAKE_LIB)
00028 # define KEXICORE_EXPORT KDE_IMPORT
00029 #else
00030 # define KEXICORE_EXPORT 
00031 #endif
00032 
00033 #ifdef MAKE_KEXIMAIN_LIB
00034 # define KEXIMAIN_EXPORT KDE_EXPORT
00035 #elif defined(KDE_MAKE_LIB)
00036 # define KEXIMAIN_EXPORT KDE_IMPORT
00037 #else
00038 # define KEXIMAIN_EXPORT 
00039 #endif
00040 
00041 #ifdef MAKE_KEXITABLEFILTERS_LIB
00042 # define KEXITABLEFILTERS_EXPORT  KDE_EXPORT
00043 #elif defined(KDE_MAKE_LIB)
00044 # define KEXITABLEFILTERS_EXPORT  KDE_IMPORT
00045 #else
00046 # define KEXITABLEFILTERS_EXPORT //for apps
00047 #endif
00048 
00049 #ifdef MAKE_KEXIDATATABLE_LIB
00050 # define KEXIDATATABLE_EXPORT  KDE_EXPORT
00051 #elif defined(KDE_MAKE_LIB)
00052 # define KEXIDATATABLE_EXPORT  KDE_IMPORT
00053 #else
00054 # define KEXIDATATABLE_EXPORT //for apps
00055 #endif
00056 
00057 #ifndef KEXIEXTWIDGETS_EXPORT //tmp
00058 
00059 #ifdef MAKE_KEXIEXTWIDGETS_LIB
00060 # define KEXIEXTWIDGETS_EXPORT  KDE_EXPORT
00061 #elif defined(KDE_MAKE_LIB)
00062 # define KEXIEXTWIDGETS_EXPORT  KDE_IMPORT
00063 #else
00064 # define KEXIEXTWIDGETS_EXPORT //for apps
00065 #endif
00066 
00067 #endif
00068 
00069 #ifdef MAKE_KFORMEDITOR_LIB
00070 # define KFORMEDITOR_EXPORT  KDE_EXPORT
00071 #elif defined(KDE_MAKE_LIB)
00072 # define KFORMEDITOR_EXPORT  KDE_IMPORT
00073 #else
00074 # define KFORMEDITOR_EXPORT //for apps
00075 #endif
00076 
00077 #ifdef MAKE_KEXIPRJWIZARD_LIB
00078 # define KEXIPRJWIZARD_EXPORT  KDE_EXPORT
00079 #elif defined(KDE_MAKE_LIB)
00080 # define KEXIPRJWIZARD_EXPORT  KDE_IMPORT
00081 #else
00082 # define KEXIPRJWIZARD_EXPORT //for apps
00083 #endif
00084 
00085 #ifdef MAKE_KEXIFILTER_LIB
00086 # define KEXIFILTER_EXPORT  KDE_EXPORT
00087 #elif defined(KDE_MAKE_LIB)
00088 # define KEXIFILTER_EXPORT  KDE_IMPORT
00089 #else
00090 # define KEXIFILTER_EXPORT //for apps
00091 #endif
00092 
00093 #ifdef MAKE_KEXIWIDGETS_LIB
00094 # define KEXIWIDGETS_EXPORT  KDE_EXPORT
00095 #elif defined(KDE_MAKE_LIB)
00096 # define KEXIWIDGETS_EXPORT  KDE_IMPORT
00097 #else
00098 # define KEXIWIDGETS_EXPORT //for apps
00099 #endif
00100 
00101 #ifdef MAKE_KEXIUUID_LIB
00102 # define KEXIUUID_EXPORT  KDE_EXPORT
00103 #else
00104 # define KEXIUUID_EXPORT //for apps
00105 #endif
00106 
00107 #ifdef MAKE_KEXIRELATIONSVIEW_LIB
00108 # define KEXIRELATIONSVIEW_EXPORT  KDE_EXPORT
00109 #elif defined(KDE_MAKE_LIB)
00110 # define KEXIRELATIONSVIEW_EXPORT  KDE_IMPORT
00111 #else
00112 # define KEXIRELATIONSVIEW_EXPORT //for apps
00113 #endif
00114 
00115 #ifdef MAKE_KEXIGUIUTILS_LIB
00116 # define KEXIGUIUTILS_EXPORT KDE_EXPORT
00117 #elif defined(KDE_MAKE_LIB)
00118 # define KEXIGUIUTILS_EXPORT KDE_IMPORT
00119 #else
00120 # define KEXIGUIUTILS_EXPORT //for apps
00121 #endif
00122 
00123 #ifdef MAKE_KROSS_MAIN_LIB
00124 # define KROSS_MAIN_EXPORT KDE_EXPORT
00125 #elif defined(KDE_MAKE_LIB)
00126 # define KROSS_MAIN_EXPORT KDE_IMPORT
00127 #else
00128 # define KROSS_MAIN_EXPORT //for apps
00129 #endif
00130 
00131 #ifdef MAKE_KEXIFORMUTILS_LIB
00132 # define KEXIFORMUTILS_EXPORT KDE_EXPORT
00133 #elif defined(KDE_MAKE_LIB)
00134 # define KEXIFORMUTILS_EXPORT KDE_IMPORT
00135 #else
00136 # define KEXIFORMUTILS_EXPORT //for apps
00137 #endif
00138 
00139 #ifdef MAKE_KEXIREPORTUTILS_LIB
00140 # define KEXIREPORTUTILS_EXPORT KDE_EXPORT
00141 #elif defined(KDE_MAKE_LIB)
00142 # define KEXIREPORTUTILS_EXPORT KDE_IMPORT
00143 #else
00144 # define KEXIREPORTUTILS_EXPORT //for apps
00145 #endif
00146 
00147 /* temporary */
00148 #ifndef KOPROPERTY_EXPORT
00149 # ifdef MAKE_KOPROPERTY_LIB
00150 #  define KOPROPERTY_EXPORT KDE_EXPORT
00151 # elif defined(KDE_MAKE_LIB)
00152 #  define KOPROPERTY_EXPORT KDE_IMPORT
00153 # else
00154 #  define KOPROPERTY_EXPORT
00155 # endif
00156 #endif
00157 
00158 /* additional default options */
00159 #ifndef KEXI_NO_CTXT_HELP
00160 # define KEXI_NO_CTXT_HELP
00161 #endif
00162 # define KDE_CXXFLAGS
00163 
00164 /* -- compile-time settings -- */
00165 #if defined(Q_WS_WIN) || defined(KEXI_OPTIONS)
00166 /* defined in a .pro file or 'KEXI_OPTIONS' env. variable */
00167 #else
00168 
00169 /* unfinished features visibility */
00170 /* -- undefined because people asked why these doesn't work: --
00171 # define KEXI_SHOW_UNIMPLEMENTED 
00172 # define KEXI_STARTUP_SHOW_TEMPLATES 
00173 # define KEXI_STARTUP_SHOW_RECENT
00174 # define KEXI_REPORTS_SUPPORT
00175 # define KEXI_NO_CSV_IMPORT
00176 */
00177 # define KEXI_NO_UNFINISHED
00178 # define KEXI_FORMS_SUPPORT
00179 //# define KEXI_NO_FEEDBACK_AGENT
00180 #endif
00181 
00182 #endif //KEXI_EXPORT_H
KDE Home | KDE Accessibility Home | Description of Access Keys