-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathImportPIE.pas
39 lines (30 loc) · 974 Bytes
/
ImportPIE.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
unit ImportPIE;
interface
uses AnePIE;
const IMPORT_PIE_VERSION = 2;
// #ifdef __cplusplus
// extern "C" {
// #endif
// typedef void (*PIEImportProc)(ANE_PTR aneHandle, const ANE_STR fileName, ANE_PTR layerHandle);
// #ifdef __cplusplus
// }
// #endif
type
PIEImportProc = procedure (aneHandle : ANE_PTR;
const fileName : ANE_STR; layerHandle : ANE_PTR) ; cdecl;
const kImportFromFile = $1 ;
const kImportFromLayer = $2 ;
const kImportNeedsProject = $4 ;
const kImportAllwaysVisible = $8 ;
Type EImportPIEFlags = integer;
ImportPIEDesc = record
version : ANE_INT32 ;
name : ANE_STR ;
importFlags : EImportPIEFlags ;
toLayerTypes : EPIELayerType ;
fromLayerTypes : EPIELayerType ;
doImportProc : PIEImportProc ;
neededProject : ANE_STR ;
end;
implementation
end.