Loading...
Searching...
No Matches
Go to the documentation of this file. 1#ifndef OSMSCOUT_MAP_QT_PRIVATE_IMPORT_EXPORT_H
2#define OSMSCOUT_MAP_QT_PRIVATE_IMPORT_EXPORT_H
23#include <osmscoutmapqt/MapQtFeatures.h>
26#if defined _WIN32 || defined __CYGWIN__
27# define OSMSCOUT_IMPORT __declspec(dllimport)
28# define OSMSCOUT_EXPORT __declspec(dllexport)
29# define OSMSCOUT_LOCAL
32# define OSMSCOUT_IMPORT __attribute__ ((visibility ("default")))
33# define OSMSCOUT_EXPORT __attribute__ ((visibility ("default")))
34# define OSMSCOUT_LOCAL __attribute__ ((visibility ("hidden")))
36# define OSMSCOUT_IMPORT
37# define OSMSCOUT_EXPORT
38# define OSMSCOUT_LOCAL
41#ifndef OSMSCOUT_STATIC
42# ifdef OSMScoutMapQt_EXPORTS
43# define OSMSCOUT_MAP_QT_API OSMSCOUT_EXPORT
45# define OSMSCOUT_MAP_QT_API OSMSCOUT_IMPORT
47# define OSMSCOUT_MAP_QT_DLLLOCAL OSMSCOUT_LOCAL
49# define OSMSCOUT_MAP_QT_API
50# define OSMSCOUT_MAP_QT_DLLLOCAL
55 #define OSMSCOUT_MAP_QT_EXCEPTIONAPI(api) api
56#elif defined(OSMScoutMapQt_EXPORTS)
57 #define OSMSCOUT_MAP_QT_EXCEPTIONAPI(api) OSMSCOUT_EXPORT
59 #define OSMSCOUT_MAP_QT_EXCEPTIONAPI(api)
63 #define OSMSCOUT_MAP_QT_INSTANTIATE_TEMPLATES