QtGStreamer 0.10.1

global.h

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 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 QGST_UTILS_GLOBAL_H
00019 #define QGST_UTILS_GLOBAL_H
00020 
00021 #include <QtCore/QtGlobal>
00022 
00023 /* defined by cmake when building this library */
00024 #if defined(QtGStreamerUtils_EXPORTS)
00025 # define QTGSTREAMERUTILS_EXPORT Q_DECL_EXPORT
00026 #else
00027 # define QTGSTREAMERUTILS_EXPORT Q_DECL_IMPORT
00028 #endif
00029 
00030 #if !defined(Q_OS_WIN) && !defined(Q_CC_NOKIAX86) && \
00031     !defined(Q_CC_RVCT) && defined(QT_VISIBILITY_AVAILABLE)
00032 # define QTGSTREAMERUTILS_NO_EXPORT __attribute__((visibility("hidden")))
00033 #else
00034 # define QTGSTREAMERUTILS_NO_EXPORT
00035 #endif
00036 
00037 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator