NSPageLayout.inc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. { Parsed from AppKit.framework NSPageLayout.h }
  2. {$ifdef TYPES}
  3. type
  4. NSPageLayoutPtr = ^NSPageLayout;
  5. {$endif}
  6. {$ifdef CLASSES}
  7. type
  8. NSPageLayout = objcclass external (NSObject)
  9. private
  10. _accessoryControllers: NSMutableArray;
  11. _originalPrintInfo: NSPrintInfo;
  12. _delegate: id;
  13. _didEndSelector: SEL;
  14. _contextInfo: pointer;
  15. _presentedPrintInfo: NSPrintInfo;
  16. _windowController: NSWindowController;
  17. {$if defined(__LP64__)}
  18. _reserved:array[0..3] of id;
  19. {$else}
  20. _compatibilityPadding:array[0..155] of char;
  21. {$endif}
  22. public
  23. class function pageLayout: NSPageLayout; message 'pageLayout';
  24. procedure addAccessoryController (accessoryController: NSViewController); message 'addAccessoryController:'; { available in 10_5 }
  25. procedure removeAccessoryController (accessoryController: NSViewController); message 'removeAccessoryController:'; { available in 10_5 }
  26. function accessoryControllers: NSArray; message 'accessoryControllers';
  27. procedure beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo (printInfo: NSPrintInfo; docWindow: NSWindow; delegate: id; didEndSelector: SEL; contextInfo: pointer); message 'beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:';
  28. function runModalWithPrintInfo (printInfo: NSPrintInfo): NSInteger; message 'runModalWithPrintInfo:';
  29. function runModal: NSInteger; message 'runModal';
  30. function printInfo: NSPrintInfo; message 'printInfo';
  31. end;
  32. type
  33. NSPageLayout_NSDeprecated = objccategory external name 'NSDeprecated' (NSPageLayout)
  34. procedure setAccessoryView (accessoryView: NSView); message 'setAccessoryView:'; deprecated 'in 10_0, 10_5';
  35. function accessoryView: NSView; message 'accessoryView'; deprecated 'in 10_0, 10_5';
  36. procedure readPrintInfo; message 'readPrintInfo'; deprecated 'in 10_0, 10_5';
  37. procedure writePrintInfo; message 'writePrintInfo'; deprecated 'in 10_0, 10_5';
  38. end;
  39. type
  40. NSPageLayoutPanel = objccategory external (NSApplication)
  41. procedure runPageLayout (sender: id); message 'runPageLayout:';
  42. end;
  43. {$endif}