-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGoldSrc.BaseInterface.pas
40 lines (32 loc) · 1.3 KB
/
GoldSrc.BaseInterface.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
(*=========== (C) Copyright 2019, Alexander B. All rights reserved. ===========*)
(* *)
(* Module: *)
(* GoldSrc.BaseInterface *)
(* *)
(* License: *)
(* You may freely use this code provided you retain this copyright message. *)
(* *)
(* Description: *)
(*=============================================================================*)
unit GoldSrc.BaseInterface;
interface
type
PCreateInterfaceFn = ^TCreateInterfaceFn;
TCreateInterfaceFn = function(Name: PAnsiChar; ReturnCode: PInteger): Pointer; cdecl;
type
// interface return status
IInterfaceReturnCode =
(
IFACE_OK = 0,
IFACE_FAILED
);
{$REGION 'IBaseInterface'}
PVIBaseInterface = ^VIBaseInterface;
VIBaseInterface = object
public
Destroy: procedure(Free: Boolean); stdcall;
end;
IBaseInterface = ^PVIBaseInterface;
{$ENDREGION}
implementation
end.