KNewStuff
knewstuff_export.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2007 David Faure <faure@kde.org> 00003 Copyright (C) 2009 Jeremy Whiting <jpwhiting@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 This library 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 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef KNEWSTUFF3_EXPORT_H 00020 #define KNEWSTUFF3_EXPORT_H 00021 00022 /* needed for KDE_EXPORT and KDE_IMPORT macros */ 00023 #include <kdemacros.h> 00024 00025 #ifndef KNEWSTUFF_EXPORT 00026 # if defined(KDELIBS_STATIC_LIBS) 00027 /* No export/import for static libraries */ 00028 # define KNEWSTUFF_EXPORT 00029 # elif defined(MAKE_KNEWSTUFF3_LIB) 00030 /* We are building this library */ 00031 # define KNEWSTUFF_EXPORT KDE_EXPORT 00032 # else 00033 /* We are using this library */ 00034 # define KNEWSTUFF_EXPORT KDE_IMPORT 00035 # endif 00036 #endif 00037 00038 # ifndef KNEWSTUFF_EXPORT_DEPRECATED 00039 # define KNEWSTUFF_EXPORT_DEPRECATED KDE_DEPRECATED KNEWSTUFF_EXPORT 00040 # endif 00041 00042 #endif
KDE 4.6 API Reference