-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjuggle_ext.inc
More file actions
22 lines (18 loc) · 970 Bytes
/
juggle_ext.inc
File metadata and controls
22 lines (18 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(*
Juggle library extension point
(C) 2006-2011 George "Mirage" Bakhtadze.
The source code may be used under either MPL 1.1 or LGPL 2.1 license. See included license.txt file.
Created: Oct 31, 2011
To use the extension facility switch it on by defining JUGGLE_EXTENSION conditional in GDefines.inc
of your project and add "juggle_extension.inc" file to your project.
To use an existing Juggle extension add an include directive with the extension's .inc file
in juggle_extension.inc.
To make your own extension create an .inc file with the following in mind:
The extension will be included in main Juggle unit three times:
1. in uses clause with _juggle_uses conditional variable defined
2. in TJItems class interface section with _juggle_interface conditional variable defined
3. in TJItems class implementation section with _juggle_implementation conditional variable defined
*)
{$IFDEF JUGGLE_EXTENSION}
{$I juggle_extension.inc}
{$ENDIF}