forked from cutelyst/cutelyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcutelyst_global.h
119 lines (115 loc) · 3.88 KB
/
cutelyst_global.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#ifndef CUTELYST_GLOBAL_H
#define CUTELYST_GLOBAL_H
#include <QtCore/QtGlobal>
// defined by cmake when building this library
#if defined(Cutelyst2Qt5_EXPORTS)
# define CUTELYST_LIBRARY Q_DECL_EXPORT
#else
# define CUTELYST_LIBRARY Q_DECL_IMPORT
#endif
#if defined(ActionRenderView_EXPORTS)
# define CUTELYST_PLUGIN_ACTION_RENDERVIEW_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_ACTION_RENDERVIEW_EXPORT Q_DECL_IMPORT
#endif
#if defined(ActionREST_EXPORTS)
# define CUTELYST_PLUGIN_ACTION_REST_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_ACTION_REST_EXPORT Q_DECL_IMPORT
#endif
#if defined(ActionRoleACL_EXPORTS)
# define CUTELYST_PLUGIN_ACTION_ROLEACL_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_ACTION_ROLEACL_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5Authentication_EXPORTS)
# define CUTELYST_PLUGIN_AUTHENTICATION_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_AUTHENTICATION_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5Session_EXPORTS)
# define CUTELYST_PLUGIN_SESSION_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_SESSION_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5StaticSimple_EXPORTS)
# define CUTELYST_PLUGIN_STATICSIMPLE_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_STATICSIMPLE_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5StaticCompressed_EXPORTS)
# define CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5UtilsPagination_EXPORTS)
# define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_UTILS_PAGINATION_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5StatusMessage_EXPORTS)
# define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_STATUSMESSAGE_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5Memcached_EXPORTS)
# define CUTELYST_PLUGIN_MEMCACHED_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_MEMCACHED_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5MemcachedSessionStore_EXPORTS)
# define CUTELYST_PLUGIN_MEMCACHEDSESSIONSTORE_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_MEMCACHEDSESSIONSTORE_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5CSRFProtection_EXPORTS)
# define CUTELYST_PLUGIN_CSRFPROTECTION_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_CSRFPROTECTION_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5UtilsSql_EXPORTS)
# define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_UTILS_SQL_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5UtilsValidator_EXPORTS)
# define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_UTILS_VALIDATOR_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5UtilsLangSelect_EXPORTS)
# define CUTELYST_PLUGIN_UTILS_LANGSELECT_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_UTILS_LANGSELECT_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5ViewClearSilver_EXPORTS)
# define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_VIEW_CLEARSILVER_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5ViewEmail_EXPORTS)
# define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_VIEW_EMAIL_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5ViewGrantlee_EXPORTS)
# define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_VIEW_GRANTLEE_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5ViewJson_EXPORTS)
# define CUTELYST_VIEW_JSON_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_VIEW_JSON_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5Wsgi_EXPORTS)
# define CUTELYST_WSGI_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_WSGI_EXPORT Q_DECL_IMPORT
#endif
#if defined(Cutelyst2Qt5UserAgent_EXPORTS)
# define CUTELYST_PLUGIN_USERAGENT_EXPORT Q_DECL_EXPORT
#else
# define CUTELYST_PLUGIN_USERAGENT_EXPORT Q_DECL_IMPORT
#endif
#endif // CUTELYST_GLOBAL_H