NSStoryboardSegue.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. { Parsed from AppKit.framework NSStoryboardSegue.h }
  2. {$ifdef TYPES}
  3. type
  4. NSStoryboardSeguePtr = ^NSStoryboardSegue;
  5. NSSeguePerformingProtocolPtr = ^NSSeguePerformingProtocol;
  6. {$endif}
  7. {$ifdef CLASSES}
  8. type
  9. NSStoryboardSegue = objcclass external (NSObject)
  10. private
  11. _performHandler: OpaqueCBlock;
  12. _identifier: NSString;
  13. _sourceController: id;
  14. _destinationController: id;
  15. _reserved: id;
  16. public
  17. class function segueWithIdentifier_source_destination_performHandler (identifier: NSString; sourceController: id; destinationController: id; performHandler: OpaqueCBlock): instancetype; message 'segueWithIdentifier:source:destination:performHandler:';
  18. function initWithIdentifier_source_destination (identifier: NSString; sourceController: id; destinationController: id): instancetype; message 'initWithIdentifier:source:destination:'; { NS_DESIGNATED_INITIALIZER }
  19. function identifier: NSString; message 'identifier';
  20. function sourceController: id; message 'sourceController';
  21. function destinationController: id; message 'destinationController';
  22. procedure perform; message 'perform';
  23. end;
  24. {$endif}
  25. {$ifdef PROTOCOLS}
  26. type
  27. NSSeguePerformingProtocol = objcprotocol external name 'NSSeguePerforming' (NSObjectProtocol)
  28. optional
  29. procedure prepareForSegue_sender (segue: NSStoryboardSegue; sender: id); message 'prepareForSegue:sender:'; { available in 10_10 }
  30. procedure performSegueWithIdentifier_sender (identifier: NSString; sender: id); message 'performSegueWithIdentifier:sender:'; { available in 10_10 }
  31. function shouldPerformSegueWithIdentifier_sender (identifier: NSString; sender: id): ObjCBOOL; message 'shouldPerformSegueWithIdentifier:sender:'; { available in 10_10 }
  32. end;
  33. {$endif}