initial commit
[rofl0r-KOL.git] / delphidef.inc
blobbdb46e6ce0067dc2705b477a6ef2bdbfed17983f
1 //{$DEFINE _FPC}\r
2 {$DEFINE ASM_VERSION} // Comment this line to produce Pascal code.\r
3                       // Or, just add PAS_VERSION to conditionals\r
4                       // of your project (must be rebuilt).\r
5 \r
6 {$IFDEF ASM_VERSION}\r
7   {$IFDEF PAS_VERSION}\r
8     {$UNDEF ASM_VERSION}\r
9     // To compile a project with ASM_VERSION option turned off,\r
10     // define a symbol PAS_VERSION in project options.\r
11   {$ENDIF}\r
12 {$ENDIF}\r
14 {$I KOLDEF.INC}\r
16 //{$DEFINE USE_CONSTRUCTORS}\r
17 // Comment this line to produce smaller code if constructors are not used.\r
18 // When uncommented, this definition allows to create descendant controls\r
19 // and objects overriding constructors, which are actually members of objects.\r
20 // Otherwise, global functions (usually named New<ObjectName>) are used to\r
21 // create and initialize object instances. This gives smaller code, but\r
22 // prevents from using OOP inheritance.\r
23 // Note: creating descendant objects derived from TObj does not require using\r
24 // of this option. It is actually needed only for deriving new controls on\r
25 // base of TControl. See also option USE_CUSTOMEXTENSIONS below.\r
27 //{$DEFINE USE_CUSTOMEXTENSIONS}\r
28 // Uncomment this option or add it to your project conditional defines,\r
29 // if You wish to extend existing TControl object from\r
30 // the inner of those. When this option is turned on, include directive at the\r
31 // tail of TControl declaration is enabled, causing a compiler to include your\r
32 // portion of source directly into the TControl body. See comments near this\r
33 // directive there. (Search the word: USE_CUSTOMEXTENSIONS).\r
34 // Please note, that this option is not fully supported now.\r
36 {$IFNDEF NOT_UNLOAD_RICHEDITLIB}\r
37   {$DEFINE UNLOAD_RICHEDITLIB}\r
38 {$ENDIF}\r
39 // You can freely comment this directive. 1st, if the application does not\r
40 // use richedit control. 2nd, even if it does, freeing the library handle\r
41 // actually is not needed.\r
42 // Another way to turn this option off is to define symbol NOT_UNLOAD_RICHEDITLIB\r
43 // in your project options.\r
45 //{$DEFINE TEST_VERSION}\r
46 {$DEFINE PARANOIA} //seems not needed under D6 !!! Inprise fixed this, finally... :)\r