File indexing completed on 2024-04-21 04:43:18

0001 /*
0002     Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
0003     Copyright (C) 2011 Harald Sitter <sitter@kde.org>
0004 
0005     This library is free software; you can redistribute it and/or
0006     modify it under the terms of the GNU Lesser General Public
0007     License as published by the Free Software Foundation; either
0008     version 2.1 of the License, or (at your option) version 3, or any
0009     later version accepted by the membership of KDE e.V. (or its
0010     successor approved by the membership of KDE e.V.), Nokia Corporation
0011     (or its successors, if any) and the KDE Free Qt Foundation, which shall
0012     act as a proxy defined in Section 6 of version 3 of the license.
0013 
0014     This library is distributed in the hope that it will be useful,
0015     but WITHOUT ANY WARRANTY; without even the implied warranty of
0016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0017     Lesser General Public License for more details.
0018 
0019     You should have received a copy of the GNU Lesser General Public
0020     License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0021 */
0022 
0023 #ifndef PHONON_EXPORT_H
0024 #define PHONON_EXPORT_H
0025 
0026 #include <QtGlobal>
0027 
0028 #ifndef PHONON_EXPORT
0029 # if defined Q_WS_WIN
0030 #  ifdef MAKE_PHONON_LIB /* We are building this library */
0031 #   define PHONON_EXPORT Q_DECL_EXPORT
0032 #  else /* We are using this library */
0033 #   define PHONON_EXPORT Q_DECL_IMPORT
0034 #  endif
0035 # else /* UNIX */
0036 #  ifdef MAKE_PHONON_LIB /* We are building this library */
0037 #   define PHONON_EXPORT Q_DECL_EXPORT
0038 #  else /* We are using this library */
0039 #   define PHONON_EXPORT Q_DECL_IMPORT
0040 #  endif
0041 # endif
0042 #endif
0043 
0044 #ifndef PHONON_DEPRECATED
0045 # define PHONON_DEPRECATED Q_DECL_DEPRECATED
0046 #endif
0047 
0048 #ifndef PHONON_EXPORT_DEPRECATED
0049 # define PHONON_EXPORT_DEPRECATED Q_DECL_DEPRECATED PHONON_EXPORT
0050 #endif
0051 
0052 #endif