Hot Door CORE 0.8.3
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreMacros.h
Go to the documentation of this file.
1
8#ifndef __HDI_CORE_MACROS__
9#define __HDI_CORE_MACROS__
10
11// HDI_CHANGE_WITH_EACH_NEW_LIB_VERSION
12#if defined(HDI_CORE_COMPILE_AI29)
13 #define HDI_CORE_APP_VERSION_NUMBER 29
14
15 #define HDI_CORE_COMPILE_AI29_PLUS 1
16 #define HDI_CORE_COMPILE_AI28_PLUS 1
17 #define HDI_CORE_COMPILE_AI27_PLUS 1
18 #define HDI_CORE_COMPILE_AI26_PLUS 1
19 #define HDI_CORE_COMPILE_AI25_PLUS 1
20
21 #define HDI_CORE_COMPILE_AI25_MINUS 0
22 #define HDI_CORE_COMPILE_AI26_MINUS 0
23 #define HDI_CORE_COMPILE_AI27_MINUS 0
24 #define HDI_CORE_COMPILE_AI28_MINUS 0
25 #define HDI_CORE_COMPILE_AI29_MINUS 1
26
27 #define HDI_CORE_COMPILE_PS22_PLUS 0
28
29 #define HDI_CORE_COMPILE_PS22_MINUS 0
30#elif defined(HDI_CORE_COMPILE_AI28)
31 #define HDI_CORE_APP_VERSION_NUMBER 28
32
33 #define HDI_CORE_COMPILE_AI29_PLUS 0
34 #define HDI_CORE_COMPILE_AI28_PLUS 1
35 #define HDI_CORE_COMPILE_AI27_PLUS 1
36 #define HDI_CORE_COMPILE_AI26_PLUS 1
37 #define HDI_CORE_COMPILE_AI25_PLUS 1
38
39 #define HDI_CORE_COMPILE_AI25_MINUS 0
40 #define HDI_CORE_COMPILE_AI26_MINUS 0
41 #define HDI_CORE_COMPILE_AI27_MINUS 0
42 #define HDI_CORE_COMPILE_AI28_MINUS 1
43 #define HDI_CORE_COMPILE_AI29_MINUS 1
44
45 #define HDI_CORE_COMPILE_PS22_PLUS 0
46
47 #define HDI_CORE_COMPILE_PS22_MINUS 0
48#elif defined(HDI_CORE_COMPILE_AI27)
49 #define HDI_CORE_APP_VERSION_NUMBER 27
50
51 #define HDI_CORE_COMPILE_AI29_PLUS 0
52 #define HDI_CORE_COMPILE_AI28_PLUS 0
53 #define HDI_CORE_COMPILE_AI27_PLUS 1
54 #define HDI_CORE_COMPILE_AI26_PLUS 1
55 #define HDI_CORE_COMPILE_AI25_PLUS 1
56
57 #define HDI_CORE_COMPILE_AI25_MINUS 0
58 #define HDI_CORE_COMPILE_AI26_MINUS 0
59 #define HDI_CORE_COMPILE_AI27_MINUS 1
60 #define HDI_CORE_COMPILE_AI28_MINUS 1
61 #define HDI_CORE_COMPILE_AI29_MINUS 1
62
63 #define HDI_CORE_COMPILE_PS22_PLUS 0
64
65 #define HDI_CORE_COMPILE_PS22_MINUS 0
66#elif defined(HDI_CORE_COMPILE_AI26)
67 #define HDI_CORE_APP_VERSION_NUMBER 26
68
69 #define HDI_CORE_COMPILE_AI29_PLUS 0
70 #define HDI_CORE_COMPILE_AI28_PLUS 0
71 #define HDI_CORE_COMPILE_AI27_PLUS 0
72 #define HDI_CORE_COMPILE_AI26_PLUS 1
73 #define HDI_CORE_COMPILE_AI25_PLUS 1
74
75 #define HDI_CORE_COMPILE_AI25_MINUS 0
76 #define HDI_CORE_COMPILE_AI26_MINUS 1
77 #define HDI_CORE_COMPILE_AI27_MINUS 1
78 #define HDI_CORE_COMPILE_AI28_MINUS 1
79 #define HDI_CORE_COMPILE_AI29_MINUS 1
80
81 #define HDI_CORE_COMPILE_PS22_PLUS 0
82
83 #define HDI_CORE_COMPILE_PS22_MINUS 0
84#elif defined(HDI_CORE_COMPILE_AI25)
85 #define HDI_CORE_APP_VERSION_NUMBER 25
86
87 #define HDI_CORE_COMPILE_AI29_PLUS 0
88 #define HDI_CORE_COMPILE_AI28_PLUS 0
89 #define HDI_CORE_COMPILE_AI27_PLUS 0
90 #define HDI_CORE_COMPILE_AI26_PLUS 0
91 #define HDI_CORE_COMPILE_AI25_PLUS 1
92
93 #define HDI_CORE_COMPILE_AI25_MINUS 1
94 #define HDI_CORE_COMPILE_AI26_MINUS 1
95 #define HDI_CORE_COMPILE_AI27_MINUS 1
96 #define HDI_CORE_COMPILE_AI28_MINUS 1
97 #define HDI_CORE_COMPILE_AI29_MINUS 1
98
99 #define HDI_CORE_COMPILE_PS22_PLUS 0
100
101 #define HDI_CORE_COMPILE_PS22_MINUS 0
102#endif
103
104// HDI_CHANGE_WITH_EACH_NEW_LIB_VERSION
105#if defined(HDI_CORE_COMPILE_PS22)
106 #define HDI_CORE_APP_VERSION_NUMBER 22
107
108 #define HDI_CORE_COMPILE_AI29_PLUS 0
109 #define HDI_CORE_COMPILE_AI28_PLUS 0
110 #define HDI_CORE_COMPILE_AI27_PLUS 0
111 #define HDI_CORE_COMPILE_AI26_PLUS 0
112 #define HDI_CORE_COMPILE_AI25_PLUS 0
113
114 #define HDI_CORE_COMPILE_AI25_MINUS 0
115 #define HDI_CORE_COMPILE_AI26_MINUS 0
116 #define HDI_CORE_COMPILE_AI27_MINUS 0
117 #define HDI_CORE_COMPILE_AI28_MINUS 0
118 #define HDI_CORE_COMPILE_AI29_MINUS 0
119
120 #define HDI_CORE_COMPILE_PS22_PLUS 1
121
122 #define HDI_CORE_COMPILE_PS22_MINUS 1
123#endif
124
128#define __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __hdi_core_breakblock_ ## __HDI_N__
129#define HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__)
130
143#define HDI_CORE_BREAK_BLOCK \
144 short HDI_CORE_BREAK_BLOCK_VAR(__LINE__) = 0; \
145 while( (++HDI_CORE_BREAK_BLOCK_VAR(__LINE__)) == 1 )
146
147#endif
148// __HDI_CORE_MACROS__