1 | /* This file is part of the KDE project |
2 | Copyright (C) 2003-2007 Jarosław Staniek <staniek@kde.org> |
3 | |
4 | This program is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Library General Public |
6 | License as published by the Free Software Foundation; either |
7 | version 2 of the License, or (at your option) any later version. |
8 | |
9 | This program is distributed in the hope that it will be useful, |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | Library General Public License for more details. |
13 | |
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 _KEXI_EXPORT_H_ |
21 | #define _KEXI_EXPORT_H_ |
22 | |
23 | #include <kexidb/kexidb_export.h> |
24 | |
25 | #ifndef KEXICORE_EXPORT |
26 | # ifdef MAKE_KEXICORE_LIB |
27 | # define KEXICORE_EXPORT KDE_EXPORT |
28 | # else |
29 | # define KEXICORE_EXPORT KDE_IMPORT |
30 | # endif |
31 | #endif |
32 | |
33 | #ifndef KEXIMAIN_EXPORT |
34 | # ifdef MAKE_KEXIMAIN_LIB |
35 | # define KEXIMAIN_EXPORT KDE_EXPORT |
36 | # else |
37 | # define KEXIMAIN_EXPORT KDE_IMPORT |
38 | # endif |
39 | #endif |
40 | |
41 | #ifndef KEXIDATATABLE_EXPORT |
42 | # ifdef MAKE_KEXIDATATABLE_LIB |
43 | # define KEXIDATATABLE_EXPORT KDE_EXPORT |
44 | # else |
45 | # define KEXIDATATABLE_EXPORT KDE_IMPORT |
46 | # endif |
47 | #endif |
48 | |
49 | #ifndef KEXIDATATVIEWCOMMON_EXPORT |
50 | # ifdef MAKE_KEXIDATAVIEWCOMMON_LIB |
51 | # define KEXIDATAVIEWCOMMON_EXPORT KDE_EXPORT |
52 | # else |
53 | # define KEXIDATAVIEWCOMMON_EXPORT KDE_IMPORT |
54 | # endif |
55 | #endif |
56 | |
57 | #ifndef KEXIEXTWIDGETS_EXPORT |
58 | # ifdef MAKE_KEXIEXTENDEDWIDGETS_LIB |
59 | # define KEXIEXTWIDGETS_EXPORT KDE_EXPORT |
60 | # else |
61 | # define KEXIEXTWIDGETS_EXPORT KDE_IMPORT |
62 | # endif |
63 | #endif |
64 | |
65 | #ifndef KFORMEDITOR_EXPORT |
66 | # ifdef MAKE_KFORMDESIGNER_LIB |
67 | # define KFORMEDITOR_EXPORT KDE_EXPORT |
68 | # else |
69 | # define KFORMEDITOR_EXPORT KDE_IMPORT |
70 | # endif |
71 | #endif |
72 | |
73 | #ifndef KEXIRELATIONSVIEW_EXPORT |
74 | # ifdef MAKE_KEXIRELATIONSVIEW_LIB |
75 | # define KEXIRELATIONSVIEW_EXPORT KDE_EXPORT |
76 | # else |
77 | # define KEXIRELATIONSVIEW_EXPORT KDE_IMPORT |
78 | # endif |
79 | #endif |
80 | |
81 | #ifndef KEXIGUIUTILS_EXPORT |
82 | # ifdef MAKE_KEXIGUIUTILS_LIB |
83 | # define KEXIGUIUTILS_EXPORT KDE_EXPORT |
84 | # else |
85 | # define KEXIGUIUTILS_EXPORT KDE_IMPORT |
86 | # endif |
87 | #endif |
88 | |
89 | #ifndef KROSS_MAIN_EXPORT |
90 | # ifdef MAKE_KROSS_MAIN_LIB |
91 | # define KROSS_MAIN_EXPORT KDE_EXPORT |
92 | # else |
93 | # define KROSS_MAIN_EXPORT KDE_IMPORT |
94 | # endif |
95 | #endif |
96 | |
97 | #ifndef KEXIFORMUTILS_EXPORT |
98 | # ifdef MAKE_KEXIFORMUTILS_LIB |
99 | # define KEXIFORMUTILS_EXPORT KDE_EXPORT |
100 | # else |
101 | # define KEXIFORMUTILS_EXPORT KDE_IMPORT |
102 | # endif |
103 | #endif |
104 | |
105 | #ifndef KEXIREPORTUTILS_EXPORT |
106 | # ifdef MAKE_KEXIREPORTUTILS_LIB |
107 | # define KEXIREPORTUTILS_EXPORT KDE_EXPORT |
108 | # else |
109 | # define KEXIREPORTUTILS_EXPORT KDE_IMPORT |
110 | # endif |
111 | #endif |
112 | |
113 | #ifndef KOMACRO_EXPORT |
114 | # ifdef MAKE_KOMACRO_LIB |
115 | # define KOMACRO_EXPORT KDE_EXPORT |
116 | # else |
117 | # define KOMACRO_EXPORT KDE_IMPORT |
118 | # endif |
119 | #endif |
120 | |
121 | # define KDE_CXXFLAGS |
122 | |
123 | /* -- compile-time settings -- */ |
124 | #if defined(Q_WS_WIN) || defined(KEXI_OPTIONS) |
125 | /* defined in a .pro file or 'KEXI_OPTIONS' env. variable */ |
126 | #else |
127 | |
128 | /* unfinished features visibility */ |
129 | /* -- undefined because people asked why these doesn't work: -- |
130 | # define KEXI_SHOW_UNIMPLEMENTED |
131 | # define KEXI_STARTUP_SHOW_TEMPLATES |
132 | # define KEXI_STARTUP_SHOW_RECENT |
133 | */ |
134 | //# define KEXI_NO_FEEDBACK_AGENT |
135 | #endif |
136 | |
137 | #endif //KEXI_EXPORT_H |
138 | |