Warning, file /office/calligra/libs/rdf/kordf_export.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*  This file is part of the KDE project
0002     Copyright (C) 2006 David Faure <faure@kde.org>
0003     Copyright (C) 2006 Thomas Zander <zander@kde.org>
0004 
0005     This library is free software; you can redistribute it and/or
0006     modify it under the terms of the GNU Library General Public
0007     License as published by the Free Software Foundation; either
0008     version 2 of the License, or (at your option) any later version.
0009 
0010     This library is distributed in the hope that it will be useful,
0011     but WITHOUT ANY WARRANTY; without even the implied warranty of
0012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0013     Library General Public License for more details.
0014 
0015     You should have received a copy of the GNU Library General Public License
0016     along with this library; see the file COPYING.LIB.  If not, write to
0017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0018     Boston, MA 02110-1301, USA.
0019 */
0020 
0021 #ifndef RDF_EXPORT_H
0022 #define RDF_EXPORT_H
0023 
0024 /* needed for KDE_EXPORT and KDE_IMPORT macros */
0025 #include <kdemacros.h>
0026 
0027 /* We use _WIN32/_WIN64 instead of Q_OS_WIN so that this header can be used from C files too */
0028 #if defined _WIN32 || defined _WIN64
0029 
0030 #ifndef KORDF_EXPORT
0031 # if defined(MAKE_KORDF_LIB)
0032 /* We are building this library */
0033 #  define KORDF_EXPORT KDE_EXPORT
0034 # else
0035 /* We are using this library */
0036 #  define KORDF_EXPORT KDE_IMPORT
0037 # endif
0038 #endif
0039 
0040 #else /* UNIX */
0041 
0042 #define KORDF_EXPORT KDE_EXPORT
0043 
0044 #endif
0045 
0046 /* Now the same for KORDF_TEST_EXPORT, if compiling with unit tests enabled */
0047 
0048 #ifdef COMPILING_TESTS
0049 #if defined _WIN32 || defined _WIN64
0050 # if defined(MAKE_KORDF_LIB)
0051 #       define KORDF_TEST_EXPORT KDE_EXPORT
0052 #   else
0053 #       define KORDF_TEST_EXPORT KDE_IMPORT
0054 #   endif
0055 # else /* not windows */
0056 #   define KORDF_TEST_EXPORT KDE_EXPORT
0057 # endif
0058 #else /* not compiling tests */
0059 #   define KORDF_TEST_EXPORT
0060 #endif
0061 
0062 
0063 #endif