Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreMacros.h
Go to the documentation of this file.
1
6
7
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_AI30)
13 #define HDI_CORE_APP_VERSION_NUMBER 30
14
15 #define HDI_CORE_COMPILE_AI30_PLUS 1
16 #define HDI_CORE_COMPILE_AI29_PLUS 1
17 #define HDI_CORE_COMPILE_AI28_PLUS 1
18
19 #define HDI_CORE_COMPILE_AI28_MINUS 0
20 #define HDI_CORE_COMPILE_AI29_MINUS 0
21 #define HDI_CORE_COMPILE_AI30_MINUS 1
22
23 #define HDI_CORE_COMPILE_PS25_PLUS 0
24 #define HDI_CORE_COMPILE_PS24_PLUS 0
25
26 #define HDI_CORE_COMPILE_PS24_MINUS 0
27 #define HDI_CORE_COMPILE_PS25_MINUS 0
28#elif defined(HDI_CORE_COMPILE_AI29)
29 #define HDI_CORE_APP_VERSION_NUMBER 29
30
31 #define HDI_CORE_COMPILE_AI30_PLUS 0
32 #define HDI_CORE_COMPILE_AI29_PLUS 1
33 #define HDI_CORE_COMPILE_AI28_PLUS 1
34
35 #define HDI_CORE_COMPILE_AI28_MINUS 0
36 #define HDI_CORE_COMPILE_AI29_MINUS 1
37 #define HDI_CORE_COMPILE_AI30_MINUS 1
38
39 #define HDI_CORE_COMPILE_PS25_PLUS 0
40 #define HDI_CORE_COMPILE_PS24_PLUS 0
41
42 #define HDI_CORE_COMPILE_PS24_MINUS 0
43 #define HDI_CORE_COMPILE_PS25_MINUS 0
44#elif defined(HDI_CORE_COMPILE_AI28)
45 #define HDI_CORE_APP_VERSION_NUMBER 28
46
47 #define HDI_CORE_COMPILE_AI30_PLUS 0
48 #define HDI_CORE_COMPILE_AI29_PLUS 0
49 #define HDI_CORE_COMPILE_AI28_PLUS 1
50
51 #define HDI_CORE_COMPILE_AI28_MINUS 1
52 #define HDI_CORE_COMPILE_AI29_MINUS 1
53 #define HDI_CORE_COMPILE_AI30_MINUS 1
54
55 #define HDI_CORE_COMPILE_PS25_PLUS 0
56 #define HDI_CORE_COMPILE_PS24_PLUS 0
57
58 #define HDI_CORE_COMPILE_PS24_MINUS 0
59 #define HDI_CORE_COMPILE_PS25_MINUS 0
60#endif
61
62// HDI_CHANGE_WITH_EACH_NEW_LIB_VERSION
63#if defined(HDI_CORE_COMPILE_PS25)
64 #define HDI_CORE_APP_VERSION_NUMBER 25
65
66 #define HDI_CORE_COMPILE_AI30_PLUS 0
67 #define HDI_CORE_COMPILE_AI29_PLUS 0
68 #define HDI_CORE_COMPILE_AI28_PLUS 0
69
70 #define HDI_CORE_COMPILE_AI28_MINUS 0
71 #define HDI_CORE_COMPILE_AI29_MINUS 0
72 #define HDI_CORE_COMPILE_AI30_MINUS 0
73
74 #define HDI_CORE_COMPILE_PS25_PLUS 1
75 #define HDI_CORE_COMPILE_PS24_PLUS 1
76
77 #define HDI_CORE_COMPILE_PS24_MINUS 0
78 #define HDI_CORE_COMPILE_PS25_MINUS 1
79#elif defined(HDI_CORE_COMPILE_PS24)
80 #define HDI_CORE_APP_VERSION_NUMBER 24
81
82 #define HDI_CORE_COMPILE_AI30_PLUS 0
83 #define HDI_CORE_COMPILE_AI29_PLUS 0
84 #define HDI_CORE_COMPILE_AI28_PLUS 0
85
86 #define HDI_CORE_COMPILE_AI28_MINUS 0
87 #define HDI_CORE_COMPILE_AI29_MINUS 0
88 #define HDI_CORE_COMPILE_AI30_MINUS 0
89
90 #define HDI_CORE_COMPILE_PS25_PLUS 0
91 #define HDI_CORE_COMPILE_PS24_PLUS 1
92
93 #define HDI_CORE_COMPILE_PS24_MINUS 1
94 #define HDI_CORE_COMPILE_PS25_MINUS 1
95#endif
96
100#define __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __hdi_core_breakblock_ ## __HDI_N__
101#define HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__) __HDI_CORE_BREAK_BLOCK_VAR(__HDI_N__)
102
115#define HDI_CORE_BREAK_BLOCK \
116 short HDI_CORE_BREAK_BLOCK_VAR(__LINE__) = 0; \
117 while( (++HDI_CORE_BREAK_BLOCK_VAR(__LINE__)) == 1 )
118
119#endif
120// __HDI_CORE_MACROS__