File indexing completed on 2024-04-21 04:47:49

0001 /****************************************************************************************
0002  * Copyright (c) 2007 David Faure <faure@kde.org>                                       *
0003  * Copyright (c) 2010 Patrick von Reth <patrick.vonreth@gmail.com>                      *
0004  * Copyright (c) 2013 Matěj Laitl <matej@laitl.cz>                                      *
0005  *                                                                                      *
0006  * This program is free software; you can redistribute it and/or modify it under        *
0007  * the terms of the GNU General Public License as published by the Free Software        *
0008  * Foundation; either version 2 of the License, or (at your option) any later           *
0009  * version.                                                                             *
0010  *                                                                                      *
0011  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0012  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0013  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0014  *                                                                                      *
0015  * You should have received a copy of the GNU General Public License along with         *
0016  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0017  ****************************************************************************************/
0018 
0019 #ifndef AMAROK_EXPORT_H
0020 #define AMAROK_EXPORT_H
0021 
0022 /* needed for Q_DECL_EXPORT and Q_DECL_IMPORT macros */
0023 #include <QtGlobal>
0024 
0025 #ifndef AMAROK_EXPORT
0026 # ifdef MAKE_AMAROKLIB_LIB
0027    /* We are building this library */
0028 #  define AMAROK_EXPORT Q_DECL_EXPORT
0029 # else
0030    /* We are using this library */
0031 #  define AMAROK_EXPORT Q_DECL_IMPORT
0032 # endif // MAKE_AMAROKLIB_LIB
0033 #endif // AMAROK_EXPORT
0034 
0035 #endif // AMAROK_EXPORT_H