blob: f60fabeac838972de6a6e052e366db669715fc4d (
plain)
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
|
{ Parsed from Foundation.framework NSPropertyList.h }
{$ifdef TYPES}
{$ifndef NSPROPERTYLIST_PAS_T}
{$define NSPROPERTYLIST_PAS_T}
{ Constants }
const
NSPropertyListImmutable = kCFPropertyListImmutable;
NSPropertyListMutableContainers = kCFPropertyListMutableContainers;
NSPropertyListMutableContainersAndLeaves = kCFPropertyListMutableContainersAndLeaves;
const
NSPropertyListOpenStepFormat = kCFPropertyListOpenStepFormat;
{ Types }
type
NSPropertyListMutabilityOptions = NSUInteger;
NSPropertyListMutabilityOptionsPtr = ^NSPropertyListMutabilityOptions;
NSPropertyListFormat = NSUInteger;
NSPropertyListFormatPtr = ^NSPropertyListFormat;
NSPropertyListReadOptions = NSUInteger;
NSPropertyListReadOptionsPtr = ^NSPropertyListReadOptions;
NSPropertyListWriteOptions = NSUInteger;
NSPropertyListWriteOptionsPtr = ^NSPropertyListWriteOptions;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSPROPERTYLIST_PAS_R}
{$define NSPROPERTYLIST_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSPROPERTYLIST_PAS_F}
{$define NSPROPERTYLIST_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPROPERTYLIST_PAS_S}
{$define NSPROPERTYLIST_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSPropertyListSerialization = objcclass;
NSPropertyListSerializationPointer = ^NSPropertyListSerialization;
NSPropertyListSerializationPtr = NSPropertyListSerializationPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSPROPERTYLIST_PAS_C}
{$define NSPROPERTYLIST_PAS_C}
{ NSPropertyListSerialization }
NSPropertyListSerialization = objcclass external (NSObject)
private
reserved: array[0..(6)-1] of Pointer;
public
class function propertyList_isValidForFormat(plist: id; format: NSPropertyListFormat): Boolean; message 'propertyList:isValidForFormat:';
class function dataWithPropertyList_format_options_error(plist: id; format: NSPropertyListFormat; opt: NSPropertyListWriteOptions; error: NSErrorPointer): NSData; message 'dataWithPropertyList:format:options:error:';
class function writePropertyList_toStream_format_options_error(plist: id; stream: NSOutputStream; format: NSPropertyListFormat; opt: NSPropertyListWriteOptions; error: NSErrorPointer): NSInteger; message 'writePropertyList:toStream:format:options:error:';
class function propertyListWithData_options_format_error(data: NSData; opt: NSPropertyListReadOptions; format: NSPropertyListFormatPtr; error: NSErrorPointer): id; message 'propertyListWithData:options:format:error:';
class function propertyListWithStream_options_format_error(stream: NSInputStream; opt: NSPropertyListReadOptions; format: NSPropertyListFormatPtr; error: NSErrorPointer): id; message 'propertyListWithStream:options:format:error:';
class function dataFromPropertyList_format_errorDescription(plist: id; format: NSPropertyListFormat; errorString: NSStringPointer): NSData; message 'dataFromPropertyList:format:errorDescription:';
class function propertyListFromData_mutabilityOption_format_errorDescription(data: NSData; opt: NSPropertyListMutabilityOptions; format: NSPropertyListFormatPtr; errorString: NSStringPointer): id; message 'propertyListFromData:mutabilityOption:format:errorDescription:';
end;
{$endif}
{$endif}
|