-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_objects.pas
60 lines (46 loc) · 805 Bytes
/
_objects.pas
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
unit _Objects;
(******
DN/2 Plugin Interface - object model
Copyright (C) 2002 Aleksej Kozlov (Cat)
2:5030/1326.13
******)
{&Delphi+}
{&Use32+}
interface
uses
_Defines
;
type
PEmptyObject = ^TEmptyObject;
TEmptyObject = object
constructor Init;
procedure Free;
destructor Done; virtual;
end;
PObject = ^TObject;
TObject = object(TEmptyObject)
ObjectIsInited: Boolean;
constructor Init;
{destructor Done; virtual;}
end;
implementation
uses
_DNFuncs
;
constructor TEmptyObject.Init;
begin
_TEmptyObject^.Init(nil, @Self);
end;
procedure TEmptyObject.Free;
begin
_TEmptyObject^.Free(@Self);
end;
destructor TEmptyObject.Done;
assembler; {&Frame-}
asm
end;
constructor TObject.Init;
begin
_TObject^.Init(nil, @Self);
end;
end.