SFCertificatePanel.inc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. { Parsed from SecurityInterface.framework SFCertificatePanel.h }
  2. {$ifdef TYPES}
  3. type
  4. SFCertificatePanelPtr = ^SFCertificatePanel;
  5. {$endif}
  6. {$ifndef _SFCERTIFICATEPANEL_H_}
  7. {$ifdef CLASSES}
  8. type
  9. SFCertificatePanel = objcclass external (NSPanel)
  10. private
  11. {$if (defined(__LP64__))}
  12. _reserved_SFCertificatePanel: id;
  13. {$else}
  14. _certView: SFCertificateView;
  15. _panel: NSWindow;
  16. _okButton: NSButton;
  17. _certTable: NSTableView;
  18. _parentWindowForSheet: NSWindow;
  19. _clientDidEndSelector: SEL;
  20. _clientDelegate: id;
  21. _clientContextInfo: pointer;
  22. _certDataArray: NSMutableArray;
  23. _reserved_SFCertificatePanel_: id;
  24. {$endif}
  25. public
  26. class function sharedCertificatePanel: SFCertificatePanel; message 'sharedCertificatePanel';
  27. function runModalForTrust_showGroup (trust: SecTrustRef; showGroup: ObjCBOOL): NSInteger; message 'runModalForTrust:showGroup:';
  28. function runModalForCertificates_showGroup (certificates: NSArray; showGroup: ObjCBOOL): NSInteger; message 'runModalForCertificates:showGroup:';
  29. procedure beginSheetForWindow_modalDelegate_didEndSelector_contextInfo_trust_showGroup (docWindow: NSWindow; delegate: id; didEndSelector: SEL; contextInfo: pointer; trust: SecTrustRef; showGroup: ObjCBOOL); message 'beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:showGroup:';
  30. procedure beginSheetForWindow_modalDelegate_didEndSelector_contextInfo_certificates_showGroup (docWindow: NSWindow; delegate: id; didEndSelector: SEL; contextInfo: pointer; certificates: NSArray; showGroup: ObjCBOOL); message 'beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:certificates:showGroup:';
  31. procedure setPolicies (policies: id); message 'setPolicies:';
  32. function policies: NSArray; message 'policies';
  33. procedure setDefaultButtonTitle (title: NSString); message 'setDefaultButtonTitle:';
  34. procedure setAlternateButtonTitle (title: NSString); message 'setAlternateButtonTitle:';
  35. procedure setShowsHelp (showsHelp: ObjCBOOL); message 'setShowsHelp:';
  36. function showsHelp: ObjCBOOL; message 'showsHelp';
  37. procedure setHelpAnchor (anchor: NSString); message 'setHelpAnchor:';
  38. function helpAnchor: NSString; message 'helpAnchor';
  39. function certificateView: SFCertificateView; message 'certificateView';
  40. end;
  41. type
  42. SFCertificatePanelDelegate = objccategory external (NSObject)
  43. function certificatePanelShowHelp (sender: SFCertificatePanel): ObjCBOOL; message 'certificatePanelShowHelp:';
  44. end;
  45. {$endif}
  46. {$endif}