blob: eea4e0bcbc9321a7dd6b09b9e3be69df56641b61 (
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
80
81
82
83
|
{ Parsed from Appkit.framework NSPageLayout.h }
{$ifdef TYPES}
{$ifndef NSPAGELAYOUT_PAS_T}
{$define NSPAGELAYOUT_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSPAGELAYOUT_PAS_R}
{$define NSPAGELAYOUT_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSPAGELAYOUT_PAS_F}
{$define NSPAGELAYOUT_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPAGELAYOUT_PAS_S}
{$define NSPAGELAYOUT_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSPageLayout = objcclass;
NSPageLayoutPointer = ^NSPageLayout;
NSPageLayoutPtr = NSPageLayoutPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSPAGELAYOUT_PAS_C}
{$define NSPAGELAYOUT_PAS_C}
{ NSPageLayout }
NSPageLayout = objcclass external (NSObject)
private
_accessoryControllers: NSMutableArray;
_originalPrintInfo: NSPrintInfo;
_delegate: id;
_didEndSelector: SEL;
_contextInfo: Pointer;
_presentedPrintInfo: NSPrintInfo;
_windowController: NSWindowController;
{$ifdef cpu64}
_reserved: array[0..(4)-1] of id;
{$else}
_compatibilityPadding: array[0..(156)-1] of char;
{$endif}
public
class function pageLayout: NSPageLayout; message 'pageLayout';
procedure addAccessoryController(accessoryController: NSViewController); message 'addAccessoryController:';
procedure removeAccessoryController(accessoryController: NSViewController); message 'removeAccessoryController:';
function accessoryControllers: NSArray; message 'accessoryControllers';
procedure beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo(printInfo_: NSPrintInfo; docWindow: NSWindow; delegate: id; didEndSelector: SEL; contextInfo: Pointer); message 'beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:';
function runModalWithPrintInfo(printInfo_: NSPrintInfo): NSInteger; message 'runModalWithPrintInfo:';
function runModal: NSInteger; message 'runModal';
function printInfo: NSPrintInfo; message 'printInfo';
end;
{ NSDeprecated_NSPageLayoutCategory }
NSDeprecated_NSPageLayoutCategory = objccategory external name 'NSDeprecated' (NSPageLayout)
procedure setAccessoryView(accessoryView: NSView); message 'setAccessoryView:'; deprecated 'in Mac OS X 10.5 and later';
function accessoryView: NSView; message 'accessoryView'; deprecated 'in Mac OS X 10.5 and later';
procedure readPrintInfo; message 'readPrintInfo'; deprecated 'in Mac OS X 10.5 and later';
procedure writePrintInfo; message 'writePrintInfo'; deprecated 'in Mac OS X 10.5 and later';
end;
{ NSPageLayoutPanelCategory }
NSPageLayoutPanelCategory = objccategory external (NSApplication)
procedure runPageLayout(sender: id); message 'runPageLayout:';
end;
{$endif}
{$endif}
|