-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_GIFImageList.inc
112 lines (91 loc) · 2.63 KB
/
_GIFImageList.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
//----------------------------------------
// 代码由genvcllib工具自动生成。
// 时间:2017/9/21
// 作者:ying32
//----------------------------------------
function GIFImageList_Create(AOwner: TComponent): TGIFImageList; cdecl;
begin
Result := TGIFImageList.Create(AOwner);
end;
procedure GIFImageList_Free(AObj: TGIFImageList); cdecl;
begin
AObj.Free;
end;
procedure GIFImageList_LoadFromStream(AObj: TGIFImageList; Stream: TStream); cdecl;
begin
AObj.LoadFromStream(Stream);
end;
procedure GIFImageList_SaveToStream(AObj: TGIFImageList; Stream: TStream); cdecl;
begin
AObj.SaveToStream(Stream);
end;
function GIFImageList_Add(AObj: TGIFImageList; Item: TGIFItem): Integer; cdecl;
begin
Result := AObj.Add(Item);
end;
procedure GIFImageList_Clear(AObj: TGIFImageList); cdecl;
begin
AObj.Clear;
end;
procedure GIFImageList_Delete(AObj: TGIFImageList; Index: Integer); cdecl;
begin
AObj.Delete(Index);
end;
function GIFImageList_IndexOf(AObj: TGIFImageList; Item: TGIFItem): Integer; cdecl;
begin
Result := AObj.IndexOf(Item);
end;
procedure GIFImageList_Insert(AObj: TGIFImageList; Index: Integer; Item: TGIFItem); cdecl;
begin
AObj.Insert(Index, Item);
end;
procedure GIFImageList_Move(AObj: TGIFImageList; CurIndex: Integer; NewIndex: Integer); cdecl;
begin
AObj.Move(CurIndex, NewIndex);
end;
procedure GIFImageList_Assign(AObj: TGIFImageList; Source: TPersistent); cdecl;
begin
AObj.Assign(Source);
end;
function GIFImageList_GetNamePath(AObj: TGIFImageList): PWideChar; cdecl;
begin
Result := PWideChar(AObj.GetNamePath);
end;
function GIFImageList_ClassName(AObj: TGIFImageList): PWideChar; cdecl;
begin
Result := PWideChar(AObj.ClassName);
end;
function GIFImageList_Equals(AObj: TGIFImageList; Obj: TObject): Boolean; cdecl;
begin
Result := AObj.Equals(Obj);
end;
function GIFImageList_GetHashCode(AObj: TGIFImageList): Integer; cdecl;
begin
Result := AObj.GetHashCode;
end;
function GIFImageList_ToString(AObj: TGIFImageList): PWideChar; cdecl;
begin
Result := PWideChar(AObj.ToString);
end;
function GIFImageList_GetList(AObj: TGIFImageList): TList; cdecl;
begin
Result := AObj.List;
end;
exports
GIFImageList_Create,
GIFImageList_Free,
GIFImageList_LoadFromStream,
GIFImageList_SaveToStream,
GIFImageList_Add,
GIFImageList_Clear,
GIFImageList_Delete,
GIFImageList_IndexOf,
GIFImageList_Insert,
GIFImageList_Move,
GIFImageList_Assign,
GIFImageList_GetNamePath,
GIFImageList_ClassName,
GIFImageList_Equals,
GIFImageList_GetHashCode,
GIFImageList_ToString,
GIFImageList_GetList;