Cutelyst  2.13.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(Cutelyst2Qt5_EXPORTS)
8 # define CUTELYST_LIBRARY Q_DECL_EXPORT
9 #else
10 # define CUTELYST_LIBRARY Q_DECL_IMPORT
11 #endif
12 #if defined(ActionRenderView_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(ActionREST_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(ActionRoleACL_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(Cutelyst2Qt5Authentication_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(Cutelyst2Qt5Session_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(Cutelyst2Qt5StaticSimple_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(Cutelyst2Qt5StaticCompressed_EXPORTS)
43 # define CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT Q_DECL_EXPORT
44 #else
45 # define CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT Q_DECL_IMPORT
46 #endif
47 #if defined(Cutelyst2Qt5UtilsPagination_EXPORTS)
48 # define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_EXPORT
49 #else
50 # define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_IMPORT
51 #endif
52 #if defined(Cutelyst2Qt5StatusMessage_EXPORTS)
53 # define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_EXPORT
54 #else
55 # define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_IMPORT
56 #endif
57 #if defined(Cutelyst2Qt5Memcached_EXPORTS)
58 # define CUTELYST_PLUGIN_MEMCACHED_EXPORT Q_DECL_EXPORT
59 #else
60 # define CUTELYST_PLUGIN_MEMCACHED_EXPORT Q_DECL_IMPORT
61 #endif
62 #if defined(Cutelyst2Qt5MemcachedSessionStore_EXPORTS)
63 # define CUTELYST_PLUGIN_MEMCACHEDSESSIONSTORE_EXPORT Q_DECL_EXPORT
64 #else
65 # define CUTELYST_PLUGIN_MEMCACHEDSESSIONSTORE_EXPORT Q_DECL_IMPORT
66 #endif
67 #if defined(Cutelyst2Qt5CSRFProtection_EXPORTS)
68 # define CUTELYST_PLUGIN_CSRFPROTECTION_EXPORT Q_DECL_EXPORT
69 #else
70 # define CUTELYST_PLUGIN_CSRFPROTECTION_EXPORT Q_DECL_IMPORT
71 #endif
72 #if defined(Cutelyst2Qt5UtilsSql_EXPORTS)
73 # define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_EXPORT
74 #else
75 # define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_IMPORT
76 #endif
77 #if defined(Cutelyst2Qt5UtilsValidator_EXPORTS)
78 # define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_EXPORT
79 #else
80 # define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_IMPORT
81 #endif
82 #if defined(Cutelyst2Qt5UtilsLangSelect_EXPORTS)
83 # define CUTELYST_PLUGIN_UTILS_LANGSELECT_EXPORT Q_DECL_EXPORT
84 #else
85 # define CUTELYST_PLUGIN_UTILS_LANGSELECT_EXPORT Q_DECL_IMPORT
86 #endif
87 #if defined(Cutelyst2Qt5ViewClearSilver_EXPORTS)
88 # define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_EXPORT
89 #else
90 # define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_IMPORT
91 #endif
92 #if defined(Cutelyst2Qt5ViewEmail_EXPORTS)
93 # define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_EXPORT
94 #else
95 # define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_IMPORT
96 #endif
97 #if defined(Cutelyst2Qt5ViewGrantlee_EXPORTS)
98 # define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_EXPORT
99 #else
100 # define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_IMPORT
101 #endif
102 #if defined(Cutelyst2Qt5ViewCutelee_EXPORTS)
103 # define CUTELYST_VIEW_CUTELEE_EXPORT Q_DECL_EXPORT
104 #else
105 # define CUTELYST_VIEW_CUTELEE_EXPORT Q_DECL_IMPORT
106 #endif
107 #if defined(Cutelyst2Qt5ViewJson_EXPORTS)
108 # define CUTELYST_VIEW_JSON_EXPORT Q_DECL_EXPORT
109 #else
110 # define CUTELYST_VIEW_JSON_EXPORT Q_DECL_IMPORT
111 #endif
112 #if defined(Cutelyst2Qt5Wsgi_EXPORTS)
113 # define CUTELYST_WSGI_EXPORT Q_DECL_EXPORT
114 #else
115 # define CUTELYST_WSGI_EXPORT Q_DECL_IMPORT
116 #endif
117 #if defined(Cutelyst2Qt5UserAgent_EXPORTS)
118 # define CUTELYST_PLUGIN_USERAGENT_EXPORT Q_DECL_EXPORT
119 #else
120 # define CUTELYST_PLUGIN_USERAGENT_EXPORT Q_DECL_IMPORT
121 #endif
122 
123 #endif // CUTELYST_GLOBAL_H
124