blob: b5012d87e91d53543e186b44fe2534c48800a0aa (
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
|
{ Parsed from Appkit.framework NSTreeNode.h }
{$ifdef TYPES}
{$ifndef NSTREENODE_PAS_T}
{$define NSTREENODE_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSTREENODE_PAS_R}
{$define NSTREENODE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSTREENODE_PAS_F}
{$define NSTREENODE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSTREENODE_PAS_S}
{$define NSTREENODE_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSTreeNode = objcclass;
NSTreeNodePointer = ^NSTreeNode;
NSTreeNodePtr = NSTreeNodePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSTREENODE_PAS_C}
{$define NSTREENODE_PAS_C}
{ NSTreeNode }
NSTreeNode = objcclass external (NSObject)
private
_childNodesProxy: id;
_representedObject: id;
_observationInfo: Pointer;
_reserved2: id;
_childNodes: NSMutableArray;
_parentNode: NSTreeNode;
__NSTreeNodeFlags: record
case byte of
0: (_anonbitfield_NSTreeNode0: cuint);
1: (data: bitpacked record
ignoreObserving: 0..1;
reserved: 0..((1 shl 31)-1);
end;
);
end;
public
class function treeNodeWithRepresentedObject(modelObject: id): id; message 'treeNodeWithRepresentedObject:';
function initWithRepresentedObject(modelObject: id): id; message 'initWithRepresentedObject:';
function representedObject: id; message 'representedObject';
function indexPath: NSIndexPath; message 'indexPath';
function isLeaf: Boolean; message 'isLeaf';
function childNodes: NSArray; message 'childNodes';
function mutableChildNodes: NSMutableArray; message 'mutableChildNodes';
function descendantNodeAtIndexPath(indexPath_: NSIndexPath): NSTreeNode; message 'descendantNodeAtIndexPath:';
function parentNode: NSTreeNode; message 'parentNode';
procedure sortWithSortDescriptors_recursively(sortDescriptors: NSArray; recursively: Boolean); message 'sortWithSortDescriptors:recursively:';
end;
{$endif}
{$endif}
|