| 1 | /* |
| 2 | Copyright (C) 2007 Matthias Kretz <kretz@kde.org> |
| 3 | Copyright (C) 2011 Harald Sitter <sitter@kde.org> |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) version 3, or any |
| 9 | later version accepted by the membership of KDE e.V. (or its |
| 10 | successor approved by the membership of KDE e.V.), Nokia Corporation |
| 11 | (or its successors, if any) and the KDE Free Qt Foundation, which shall |
| 12 | act as a proxy defined in Section 6 of version 3 of the license. |
| 13 | |
| 14 | This library is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 | Lesser General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU Lesser General Public |
| 20 | License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 21 | */ |
| 22 | |
| 23 | #ifndef PHONON_EXPORT_H |
| 24 | #define PHONON_EXPORT_H |
| 25 | |
| 26 | #include <QtGlobal> |
| 27 | |
| 28 | #ifndef PHONON_EXPORT |
| 29 | # if defined Q_WS_WIN |
| 30 | # ifdef MAKE_PHONON_LIB /* We are building this library */ |
| 31 | # define PHONON_EXPORT Q_DECL_EXPORT |
| 32 | # else /* We are using this library */ |
| 33 | # define PHONON_EXPORT Q_DECL_IMPORT |
| 34 | # endif |
| 35 | # else /* UNIX */ |
| 36 | # ifdef MAKE_PHONON_LIB /* We are building this library */ |
| 37 | # define PHONON_EXPORT Q_DECL_EXPORT |
| 38 | # else /* We are using this library */ |
| 39 | # define PHONON_EXPORT Q_DECL_IMPORT |
| 40 | # endif |
| 41 | # endif |
| 42 | #endif |
| 43 | |
| 44 | #ifndef PHONON_DEPRECATED |
| 45 | # define PHONON_DEPRECATED Q_DECL_DEPRECATED |
| 46 | #endif |
| 47 | |
| 48 | #ifndef PHONON_EXPORT_DEPRECATED |
| 49 | # define PHONON_EXPORT_DEPRECATED Q_DECL_DEPRECATED PHONON_EXPORT |
| 50 | #endif |
| 51 | |
| 52 | #endif |
| 53 | |