-
Notifications
You must be signed in to change notification settings - Fork 20
/
Def_res.pas
45 lines (34 loc) · 1.01 KB
/
Def_res.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
unit Def_res;
interface
Uses Classes;
Const
FF_INHERITED = 1;
FF_HASNOTEBOOK = 2;
Type
TFindMethodSourceEvent = Procedure (Sender:TObject; ClasName, MethodName:AnsiString) of object;
EventListItem = record
CompName:AnsiString; //Component Name
EventName:AnsiString; //Event Name
Adr:Integer; //Event Address
End;
PEventListItem = ^EventListItem;
RegClassInfo = Record
RegClass:TPersistentClass;
ClasName:PAnsiChar;
End;
PRegClassInfo = ^RegClassInfo;
EventInfo = record
EventName:AnsiString; //Event name (OnClose)
ProcName:AnsiString; //Event handler name (CloseBtnClick)
End;
PEventInfo = ^EventInfo;
ComponentInfo = record
Inherit:Boolean; //Component is inherited
HasGlyph:Boolean; //Component has property "Glyph"
Name:AnsiString; //Component name
ClasName:AnsiString; //Component class
Events:TList; //EventInfo list
End;
PComponentInfo = ^ComponentInfo;
implementation
end.