phonon_export.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Lesser General Public
00006     License as published by the Free Software Foundation; either
00007     version 2.1 of the License, or (at your option) version 3, or any
00008     later version accepted by the membership of KDE e.V. (or its
00009     successor approved by the membership of KDE e.V.), Nokia Corporation 
00010     (or its successors, if any) and the KDE Free Qt Foundation, which shall
00011     act as a proxy defined in Section 6 of version 3 of the license.
00012 
00013     This library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public 
00019     License along with this library.  If not, see <http://www.gnu.org/licenses/>.
00020 */
00021 
00022 #ifndef PHONON_EXPORT_H
00023 #define PHONON_EXPORT_H
00024 
00025 #include <QtCore/QtGlobal>
00026 
00027 #ifndef PHONON_EXPORT
00028 # if defined Q_WS_WIN
00029 #  ifdef MAKE_PHONON_LIB /* We are building this library */
00030 #   define PHONON_EXPORT Q_DECL_EXPORT
00031 #  else /* We are using this library */
00032 #   define PHONON_EXPORT Q_DECL_IMPORT
00033 #  endif
00034 # else /* UNIX */
00035 #  ifdef MAKE_PHONON_LIB /* We are building this library */
00036 #   define PHONON_EXPORT Q_DECL_EXPORT
00037 #  else /* We are using this library */
00038 #   define PHONON_EXPORT Q_DECL_IMPORT
00039 #  endif
00040 # endif
00041 #endif
00042 
00043 #ifndef PHONON_EXPORT_DEPRECATED
00044 # define PHONON_EXPORT_DEPRECATED Q_DECL_DEPRECATED PHONON_EXPORT
00045 #endif
00046 
00047 // QT_(BEGIN|END)_NAMESPACE appeared in 4.4
00048 #ifndef QT_BEGIN_NAMESPACE
00049 #  define QT_BEGIN_NAMESPACE
00050 #endif
00051 #ifndef QT_END_NAMESPACE
00052 #  define QT_END_NAMESPACE
00053 #endif
00054 
00055 // silence syncqt
00056 QT_BEGIN_HEADER
00057 QT_BEGIN_NAMESPACE
00058 
00059 QT_END_NAMESPACE
00060 QT_END_HEADER
00061 
00062 #endif