00001 /* 00002 Copyright (C) 2011 Collabora Ltd. 00003 @author George Kiagiadakis <george.kiagiadakis@collabora.co.uk> 00004 00005 This library is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU Lesser General Public License as published 00007 by the Free Software Foundation; either version 2.1 of the License, or 00008 (at your option) any later version. 00009 00010 This program 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 00013 GNU Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 #ifndef QTGSTREAMERUI_EXPORT_H 00019 #define QTGSTREAMERUI_EXPORT_H 00020 00021 // workaround for https://bugreports.qt-project.org/browse/QTBUG-22829 00022 #if defined(Q_MOC_RUN) && !defined(BOOST_TT_HAS_OPERATOR_HPP_INCLUDED) 00023 #define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED 00024 #endif 00025 00026 #include <QtCore/QtGlobal> 00027 00028 /* defined by cmake when building this library */ 00029 #if defined(QtGStreamerUi_EXPORTS) 00030 # define QTGSTREAMERUI_EXPORT Q_DECL_EXPORT 00031 #else 00032 # define QTGSTREAMERUI_EXPORT Q_DECL_IMPORT 00033 #endif 00034 00035 #if !defined(Q_OS_WIN) && !defined(Q_CC_NOKIAX86) && \ 00036 !defined(Q_CC_RVCT) && defined(QT_VISIBILITY_AVAILABLE) 00037 # define QTGSTREAMERUI_NO_EXPORT __attribute__((visibility("hidden"))) 00038 #else 00039 # define QTGSTREAMERUI_NO_EXPORT 00040 #endif 00041 00042 #endif