Changeset View
Changeset View
Standalone View
Standalone View
src/aboutdialog/libattica-ocsclient/atticaclient_export.h
Show All 13 Lines | 1 | /* | |||
---|---|---|---|---|---|
14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, write to the Free Software | 15 | along with this program; if not, write to the Free Software | ||
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
17 | USA. | 17 | USA. | ||
18 | */ | 18 | */ | ||
19 | #ifndef ATTICA_EXPORT_H | 19 | #ifndef ATTICA_EXPORT_H | ||
20 | #define ATTICA_EXPORT_H | 20 | #define ATTICA_EXPORT_H | ||
21 | 21 | | |||
22 | /* needed for KDE_EXPORT and KDE_IMPORT macros */ | 22 | /* needed for Q_DECL_EXPORT and Q_DECL_IMPORT macros */ | ||
23 | #include <kdemacros.h> | 23 | #include <QtCore/QtGlobal> | ||
24 | 24 | | |||
25 | #ifndef ATTICA_EXPORT | 25 | #ifndef ATTICA_EXPORT | ||
26 | # if defined(MAKE_AMAROKOCSCLIENT_LIB) | 26 | # if defined(MAKE_AMAROKOCSCLIENT_LIB) | ||
27 | /* We are building this library */ | 27 | /* We are building this library */ | ||
28 | # define ATTICA_EXPORT KDE_EXPORT | 28 | # define ATTICA_EXPORT Q_DECL_EXPORT | ||
29 | # else | 29 | # else | ||
30 | /* We are using this library */ | 30 | /* We are using this library */ | ||
31 | # define ATTICA_EXPORT KDE_IMPORT | 31 | # define ATTICA_EXPORT Q_DECL_IMPORT | ||
32 | # endif | 32 | # endif | ||
33 | #endif | 33 | #endif | ||
34 | 34 | | |||
35 | #endif | 35 | #endif |