kexi

kexidb_export.h
1/* This file is part of the KDE project
2 Copyright (C) 2003-2004 Jaroslaw Staniek <js@iidea.pl>
3 Copyright (C) 2005 Martin Ellis <martin.ellis@kdemail.net>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
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
15 You should have received a copy of the GNU Library General Public License
16 along with this program; see the file COPYING. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20#ifndef _KEXIDB_EXPORT_H_
21#define _KEXIDB_EXPORT_H_
22
23#include <tdemacros.h>
24
25/* TODO: #include <koffice_export.h> ??? */
26#ifdef MAKE_KEXI_DB_LIB
27# define KEXI_DB_EXPORT TDE_EXPORT
28#elif defined(KDE_MAKE_LIB)
29# define KEXI_DB_EXPORT KDE_IMPORT
30#else
31# define KEXI_DB_EXPORT
32#endif
33
34#ifdef MAKE_KEXIMIGR_LIB
35# define KEXIMIGR_EXPORT TDE_EXPORT
36#elif defined(KDE_MAKE_LIB)
37# define KEXIMIGR_EXPORT KDE_IMPORT
38#else
39# define KEXIMIGR_EXPORT //for apps
40#endif
41
42/* -- compile-time settings -- */
43#if defined(TQ_WS_WIN) || defined(KEXI_OPTIONS)
44/* defined in a .pro file or 'KEXI_OPTIONS' env. variable */
45#else
46
47#endif
48
49/* Might want to add GUI defines here if widgets are to be
50 * distributed as part of kexidb - mart */
51
52#endif //KEXI_EXPORT_H