-
Notifications
You must be signed in to change notification settings - Fork 19
/
Compile.inc
89 lines (78 loc) · 2.33 KB
/
Compile.inc
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
{**
* If you want to have smoother animations, you should use the threaded timer approach.
* Otherwise the windows standard timer is used, which is not so precise.
*}
{$DEFINE UseThreadTimer}
{**
* In most cases it is better/faster to scan for a matching TAQ instance in the GarbageCollector,
* than to create a new instance.
*
* Implemented in TAQ.Take method.
*
* @see TAQ.Take
*}
{$DEFINE RetakeFromGC}
{**
* Ensure, that the fastest bool evaluation is used
*
* Otherwise AnyiQuack don't work!
*}
{$BOOLEVAL OFF}
{$IFDEF DEBUG}
{**
* Global switch for all debug related messages
*
* Enable the subset of needed informations in the following section.
*
* Warning: Some messages are send very often. And because the overhead of
* OutputDebugString (Windows function) is not so tiny,
* the performance of the whole application can be affected.
*}
{$DEFINE OutputDebugString}
{$ENDIF}
{$IFDEF OutputDebugString}
{**
* Messages about animations
*}
{.$DEFINE OutputDebugAnimation}
{**
* Messages about active intervals
*}
{.$DEFINE OutputDebugActiveIntervals}
{**
* Switch for all messages, related to the GarbageCollector (GC)
*
* Enable the subset of needed informations in the following section.
*}
{$DEFINE OutputDebugGarbageCollector}
{$IFDEF OutputDebugGarbageCollector}
{**
* Message, if a new TAQ instance is added to the GarbageCollector
*}
{.$DEFINE OutputDebugGCCreate}
{**
* Message, if a exist TAQ instance is recycled from the GarbageCollector,
* because it is expired
*}
{.$DEFINE OutputDebugGCRecycle}
{**
* Message, if a exist TAQ instance is retaken from the GarbageCollector,
* because it match to the quested one
*
* See the define RetakeFromGCC above.
*}
{.$DEFINE OutputDebugGCRetake}
{**
* Message, whether the clean up process of the GarbageCollector is started
* or when a TAQ instance is removed from the GarbageCollector.
*}
{.$DEFINE OutputDebugGCFree}
{$ENDIF}
{$ENDIF}
{**
* If you want to use AnyiQuark __only__ in FireMonkey applications,
* enable this definition.
*
* Otherwise add the FMX conditional to your Firemonkey project.
*}
{.$DEFINE FMX}