blob: ea104564a338d380664ef0a7d9588b1a4d755c86 (
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
|
{ Parsed from SecurityInterface.framework SFAuthorizationPluginView.h }
{$ifdef TYPES}
type
SFAuthorizationPluginViewPtr = ^SFAuthorizationPluginView;
{$endif}
{$ifndef _SFAUTHORIZATIONPLUGINVIEW_H_}
{$ifdef TYPES}
const
SFButtonTypeCancel = NSCancelButton;
SFButtonTypeOK = NSOKButton;
SFButtonTypeBack = SFButtonTypeCancel;
SFButtonTypeLogin = SFButtonTypeOK;
type
SFButtonType = clong;
const
SFViewTypeIdentityAndCredentials = 0;
SFViewTypeCredentials = 1;
type
SFViewType = clong;
{$endif}
{$ifdef CLASSES}
type
SFAuthorizationPluginView = objcclass external (NSObject)
private
_callbacks: AuthorizationCallbacksPtr;
_engineRef: AuthorizationEngineRef;
_private: pointer;
public
function initWithCallbacks_andEngineRef (callbacks: AuthorizationCallbacksPtr; engineRef: AuthorizationEngineRef): id; message 'initWithCallbacks:andEngineRef:';
function engineRef: AuthorizationEngineRef; message 'engineRef';
function callbacks: AuthorizationCallbacksPtr; message 'callbacks';
procedure buttonPressed (inButtonType: SFButtonType); message 'buttonPressed:';
function lastError: NSError; message 'lastError';
procedure didActivate; message 'didActivate';
procedure willActivateWithUser (inUserInformation: NSDictionary); message 'willActivateWithUser:';
procedure didDeactivate; message 'didDeactivate';
function firstKeyView: NSView; message 'firstKeyView';
function firstResponder: NSResponder; message 'firstResponder';
function lastKeyView: NSView; message 'lastKeyView';
procedure setEnabled (inEnabled: ObjCBOOL); message 'setEnabled:';
function viewForType (inType: SFViewType): NSView; message 'viewForType:';
end;
type
SFHostControl = objccategory external (SFAuthorizationPluginView)
procedure displayView; message 'displayView';
procedure setButton_enabled (inButtonType: SFButtonType; inEnabled: ObjCBOOL); message 'setButton:enabled:';
procedure updateView; message 'updateView';
end;
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
var
SFAuthorizationPluginViewUserNameKey: NSString; cvar; external;
SFAuthorizationPluginViewUserShortNameKey: NSString; cvar; external;
SFDisplayViewException: NSString; cvar; external;
{$endif}
{$endif}
|