blob: 646425ba8be7cb7f72cf324639c7146a5059e912 (
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
|
{ Parsed from SecurityInterface.framework SFKeychainSavePanel.h }
{$ifdef TYPES}
type
SFKeychainSavePanelPtr = ^SFKeychainSavePanel;
{$endif}
{$ifndef _SFKEYCHAINSAVEPANEL_H_}
{$ifdef CLASSES}
type
SFKeychainSavePanel = objcclass external (NSSavePanel)
private
{$if (defined(__LP64__))}
_reserved_SFKeychainSavePanel: id;
{$else}
_customView: NSView;
_message: NSTextField;
_password: NSString;
_kcFullPathName: NSString;
_startPath: NSString;
_keychainFileName: NSString;
_returnedKeychain: SecKeychainRef;
_parentWindowForSheet: NSWindow;
_clientDidEndSelector: SEL;
_clientDelegate: id;
_contextInfo: pointer;
_result: OSStatus;
_reserved_SFKeychainSavePanel_: id;
{$endif}
public
class function sharedKeychainSavePanel: SFKeychainSavePanel; message 'sharedKeychainSavePanel';
function runModalForDirectory_file (path: NSString; name: NSString): NSInteger; message 'runModalForDirectory:file:';
procedure setPassword (password: NSString); message 'setPassword:';
function keychain: SecKeychainRef; message 'keychain';
function error: NSError; message 'error';
procedure beginSheetForDirectory_file_modalForWindow_modalDelegate_didEndSelector_contextInfo (path: NSString; name: NSString; docWindow: NSWindow; delegate: id; didEndSelector: SEL; contextInfo: pointer); message 'beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:';
end;
{$endif}
{$endif}
|