Cutelyst  1.7.0
cutelyst_global.h
1 #ifndef CUTELYST_GLOBAL_H
2 #define CUTELYST_GLOBAL_H
3 
4 #include <QtCore/QtGlobal>
5 
6 // defined by cmake when building this library
7 #if defined(cutelyst_qt5_EXPORTS)
8 # define CUTELYST_LIBRARY Q_DECL_EXPORT
9 #else
10 # define CUTELYST_LIBRARY Q_DECL_IMPORT
11 #endif
12 #if defined(plugin_action_renderview_EXPORTS)
13 # define CUTELYST_PLUGIN_ACTION_RENDERVIEW_EXPORT Q_DECL_EXPORT
14 #else
15 # define CUTELYST_PLUGIN_ACTION_RENDERVIEW_EXPORT Q_DECL_IMPORT
16 #endif
17 #if defined(plugin_action_rest_EXPORTS)
18 # define CUTELYST_PLUGIN_ACTION_REST_EXPORT Q_DECL_EXPORT
19 #else
20 # define CUTELYST_PLUGIN_ACTION_REST_EXPORT Q_DECL_IMPORT
21 #endif
22 #if defined(plugin_action_roleacl_EXPORTS)
23 # define CUTELYST_PLUGIN_ACTION_ROLEACL_EXPORT Q_DECL_EXPORT
24 #else
25 # define CUTELYST_PLUGIN_ACTION_ROLEACL_EXPORT Q_DECL_IMPORT
26 #endif
27 #if defined(cutelyst_qt5_plugin_authentication_EXPORTS)
28 # define CUTELYST_PLUGIN_AUTHENTICATION_EXPORT Q_DECL_EXPORT
29 #else
30 # define CUTELYST_PLUGIN_AUTHENTICATION_EXPORT Q_DECL_IMPORT
31 #endif
32 #if defined(cutelyst_qt5_plugin_session_EXPORTS)
33 # define CUTELYST_PLUGIN_SESSION_EXPORT Q_DECL_EXPORT
34 #else
35 # define CUTELYST_PLUGIN_SESSION_EXPORT Q_DECL_IMPORT
36 #endif
37 #if defined(cutelyst_qt5_plugin_staticsimple_EXPORTS)
38 # define CUTELYST_PLUGIN_STATICSIMPLE_EXPORT Q_DECL_EXPORT
39 #else
40 # define CUTELYST_PLUGIN_STATICSIMPLE_EXPORT Q_DECL_IMPORT
41 #endif
42 #if defined(cutelyst_qt5_plugin_utils_pagination_EXPORTS)
43 # define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_EXPORT
44 #else
45 # define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_IMPORT
46 #endif
47 #if defined(cutelyst_qt5_plugin_statusmessage_EXPORTS)
48 # define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_EXPORT
49 #else
50 # define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_IMPORT
51 #endif
52 #if defined(cutelyst_qt5_plugin_utils_sql_EXPORTS)
53 # define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_EXPORT
54 #else
55 # define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_IMPORT
56 #endif
57 #if defined(cutelyst_qt5_plugin_utils_validator_EXPORTS)
58 # define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_EXPORT
59 #else
60 # define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_IMPORT
61 #endif
62 #if defined(cutelyst_view_clearsilver_EXPORTS)
63 # define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_EXPORT
64 #else
65 # define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_IMPORT
66 #endif
67 #if defined(cutelyst_qt5_plugin_view_email_EXPORTS)
68 # define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_EXPORT
69 #else
70 # define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_IMPORT
71 #endif
72 #if defined(cutelyst_view_grantlee_EXPORTS)
73 # define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_EXPORT
74 #else
75 # define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_IMPORT
76 #endif
77 #if defined(cutelyst_qt5_plugin_view_json_EXPORTS)
78 # define CUTELYST_VIEW_JSON_EXPORT Q_DECL_EXPORT
79 #else
80 # define CUTELYST_VIEW_JSON_EXPORT Q_DECL_IMPORT
81 #endif
82 #if defined(cutelyst_wsgi_qt5_EXPORTS)
83 # define CUTELYST_WSGI_EXPORT Q_DECL_EXPORT
84 #else
85 # define CUTELYST_WSGI_EXPORT Q_DECL_IMPORT
86 #endif
87 
88 #endif // CUTELYST_GLOBAL_H
89