Hot Door CORE 0.8.2
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_AI28)
13 #define HDI_CORE_APP_VERSION_NUMBER 28
14
15 #define HDI_CORE_COMPILE_AI28_PLUS 1
16 #define HDI_CORE_COMPILE_AI27_PLUS 1
17 #define HDI_CORE_COMPILE_AI26_PLUS 1
18 #define HDI_CORE_COMPILE_AI25_PLUS 1
19
20 #define HDI_CORE_COMPILE_AI25_MINUS 0
21 #define HDI_CORE_COMPILE_AI26_MINUS 0
22 #define HDI_CORE_COMPILE_AI27_MINUS 0
23 #define HDI_CORE_COMPILE_AI28_MINUS 1
24
25 #define HDI_CORE_COMPILE_PS22_PLUS 0
26
27 #define HDI_CORE_COMPILE_PS22_MINUS 0
28#elif defined(HDI_CORE_COMPILE_AI27)
29 #define HDI_CORE_APP_VERSION_NUMBER 27
30
31 #define HDI_CORE_COMPILE_AI28_PLUS 0
32 #define HDI_CORE_COMPILE_AI27_PLUS 1
33 #define HDI_CORE_COMPILE_AI26_PLUS 1
34 #define HDI_CORE_COMPILE_AI25_PLUS 1
35
36 #define HDI_CORE_COMPILE_AI25_MINUS 0
37 #define HDI_CORE_COMPILE_AI26_MINUS 0
38 #define HDI_CORE_COMPILE_AI27_MINUS 1
39 #define HDI_CORE_COMPILE_AI28_MINUS 1
40
41 #define HDI_CORE_COMPILE_PS22_PLUS 0
42
43 #define HDI_CORE_COMPILE_PS22_MINUS 0
44#elif defined(HDI_CORE_COMPILE_AI26)
45 #define HDI_CORE_APP_VERSION_NUMBER 26
46
47 #define HDI_CORE_COMPILE_AI28_PLUS 0
48 #define HDI_CORE_COMPILE_AI27_PLUS 0
49 #define HDI_CORE_COMPILE_AI26_PLUS 1
50 #define HDI_CORE_COMPILE_AI25_PLUS 1
51
52 #define HDI_CORE_COMPILE_AI25_MINUS 0
53 #define HDI_CORE_COMPILE_AI26_MINUS 1
54 #define HDI_CORE_COMPILE_AI27_MINUS 1
55 #define HDI_CORE_COMPILE_AI28_MINUS 1
56
57 #define HDI_CORE_COMPILE_PS22_PLUS 0
58
59 #define HDI_CORE_COMPILE_PS22_MINUS 0
60#elif defined(HDI_CORE_COMPILE_AI25)
61 #define HDI_CORE_APP_VERSION_NUMBER 25
62
63 #define HDI_CORE_COMPILE_AI28_PLUS 0
64 #define HDI_CORE_COMPILE_AI27_PLUS 0
65 #define HDI_CORE_COMPILE_AI26_PLUS 0
66 #define HDI_CORE_COMPILE_AI25_PLUS 1
67
68 #define HDI_CORE_COMPILE_AI25_MINUS 1
69 #define HDI_CORE_COMPILE_AI26_MINUS 1
70 #define HDI_CORE_COMPILE_AI27_MINUS 1
71 #define HDI_CORE_COMPILE_AI28_MINUS 1
72
73 #define HDI_CORE_COMPILE_PS22_PLUS 0
74
75 #define HDI_CORE_COMPILE_PS22_MINUS 0
76#endif
77
78// HDI_CHANGE_WITH_EACH_NEW_LIB_VERSION
79#if defined(HDI_CORE_COMPILE_PS22)
80 #define HDI_CORE_APP_VERSION_NUMBER 22
81
82 #define HDI_CORE_COMPILE_AI28_PLUS 0
83 #define HDI_CORE_COMPILE_AI27_PLUS 0
84 #define HDI_CORE_COMPILE_AI26_PLUS 0
85 #define HDI_CORE_COMPILE_AI25_PLUS 0
86
87 #define HDI_CORE_COMPILE_AI25_MINUS 0
88 #define HDI_CORE_COMPILE_AI26_MINUS 0
89 #define HDI_CORE_COMPILE_AI27_MINUS 0
90 #define HDI_CORE_COMPILE_AI28_MINUS 0
91
92 #define HDI_CORE_COMPILE_PS22_PLUS 1
93
94 #define HDI_CORE_COMPILE_PS22_MINUS 1
95#elif defined(HDI_CORE_COMPILE_PS21)
96 #define HDI_CORE_APP_VERSION_NUMBER 21
97
98 #define HDI_CORE_COMPILE_AI28_PLUS 0
99 #define HDI_CORE_COMPILE_AI27_PLUS 0
100 #define HDI_CORE_COMPILE_AI26_PLUS 0
101 #define HDI_CORE_COMPILE_AI25_PLUS 0
102
103 #define HDI_CORE_COMPILE_AI25_MINUS 0
104 #define HDI_CORE_COMPILE_AI26_MINUS 0
105 #define HDI_CORE_COMPILE_AI27_MINUS 0
106 #define HDI_CORE_COMPILE_AI28_MINUS 0
107
108 #define HDI_CORE_COMPILE_PS22_PLUS 0
109
110 #define HDI_CORE_COMPILE_PS22_MINUS 1
111#elif defined(HDI_CORE_COMPILE_PS20)
112 #define HDI_CORE_APP_VERSION_NUMBER 20
113
114 #define HDI_CORE_COMPILE_AI28_PLUS 0
115 #define HDI_CORE_COMPILE_AI27_PLUS 0
116 #define HDI_CORE_COMPILE_AI26_PLUS 0
117 #define HDI_CORE_COMPILE_AI25_PLUS 0
118
119 #define HDI_CORE_COMPILE_AI25_MINUS 0
120 #define HDI_CORE_COMPILE_AI26_MINUS 0
121 #define HDI_CORE_COMPILE_AI27_MINUS 0
122 #define HDI_CORE_COMPILE_AI28_MINUS 0
123
124 #define HDI_CORE_COMPILE_PS22_PLUS 0
125
126 #define HDI_CORE_COMPILE_PS22_MINUS 1
127#endif
128
132#define __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __hdi_core_breakblock_ ## __HDI_N__
133#define HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__)
134
147#define HDI_CORE_BREAK_BLOCK \
148 short HDI_CORE_BREAK_BLOCK_VAR(__LINE__) = 0; \
149 while( (++HDI_CORE_BREAK_BLOCK_VAR(__LINE__)) == 1 )
150
151#endif
152// __HDI_CORE_MACROS__