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
66
67
68
69
|
{ Parsed from AppKit.framework NSInputServer.h }
{$ifdef TYPES}
type
NSInputServerPtr = ^NSInputServer;
NSInputServiceProviderProtocolPtr = ^NSInputServiceProviderProtocol;
NSInputServerMouseTrackerProtocolPtr = ^NSInputServerMouseTrackerProtocol;
{$endif}
{$ifdef PROTOCOLS}
type
NSInputServiceProviderProtocol = objcprotocol external name 'NSInputServiceProvider'
procedure insertText_client (aString: id; sender: id); message 'insertText:client:'; deprecated 'in 10_0, 10_6';
procedure doCommandBySelector_client (aSelector: SEL; sender: id); message 'doCommandBySelector:client:'; deprecated 'in 10_0, 10_6';
procedure markedTextAbandoned (sender: id); message 'markedTextAbandoned:'; deprecated 'in 10_0, 10_6';
procedure markedTextSelectionChanged_client (newSel: NSRange; sender: id); message 'markedTextSelectionChanged:client:'; deprecated 'in 10_0, 10_6';
procedure terminate (sender: id); message 'terminate:'; deprecated 'in 10_0, 10_6';
function canBeDisabled: ObjCBOOL; message 'canBeDisabled'; deprecated 'in 10_0, 10_6';
function wantsToInterpretAllKeystrokes: ObjCBOOL; message 'wantsToInterpretAllKeystrokes'; deprecated 'in 10_0, 10_6';
function wantsToHandleMouseEvents: ObjCBOOL; message 'wantsToHandleMouseEvents'; deprecated 'in 10_0, 10_6';
function wantsToDelayTextChangeNotifications: ObjCBOOL; message 'wantsToDelayTextChangeNotifications'; deprecated 'in 10_0, 10_6';
procedure inputClientBecomeActive (sender: id); message 'inputClientBecomeActive:'; deprecated 'in 10_0, 10_6';
procedure inputClientResignActive (sender: id); message 'inputClientResignActive:'; deprecated 'in 10_0, 10_6';
procedure inputClientEnabled (sender: id); message 'inputClientEnabled:'; deprecated 'in 10_0, 10_6';
procedure inputClientDisabled (sender: id); message 'inputClientDisabled:'; deprecated 'in 10_0, 10_6';
procedure activeConversationWillChange_fromOldConversation (sender: id; oldConversation: NSInteger); message 'activeConversationWillChange:fromOldConversation:'; deprecated 'in 10_0, 10_6';
procedure activeConversationChanged_toNewConversation (sender: id; newConversation: NSInteger); message 'activeConversationChanged:toNewConversation:'; deprecated 'in 10_0, 10_6';
end;
type
NSInputServerMouseTrackerProtocol = objcprotocol external name 'NSInputServerMouseTracker'
function mouseDownOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id): ObjCBOOL; message 'mouseDownOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
function mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id): ObjCBOOL; message 'mouseDraggedOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
procedure mouseUpOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id); message 'mouseUpOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
end;
{$endif}
{$ifdef CLASSES}
type
NSInputServer = objcclass external (NSObject, NSInputServiceProviderProtocol, NSInputServerMouseTrackerProtocol)
private
_name: NSString;
_delegate: id;
{ Adopted protocols }
procedure activeConversationChanged_toNewConversation (sender: id; newConversation: NSInteger); message 'activeConversationChanged:toNewConversation:'; deprecated 'in 10_0, 10_6';
procedure activeConversationWillChange_fromOldConversation (sender: id; oldConversation: NSInteger); message 'activeConversationWillChange:fromOldConversation:'; deprecated 'in 10_0, 10_6';
function canBeDisabled: ObjCBOOL; message 'canBeDisabled'; deprecated 'in 10_0, 10_6';
procedure doCommandBySelector_client (aSelector: SEL; sender: id); message 'doCommandBySelector:client:'; deprecated 'in 10_0, 10_6';
procedure inputClientBecomeActive (sender: id); message 'inputClientBecomeActive:'; deprecated 'in 10_0, 10_6';
procedure inputClientDisabled (sender: id); message 'inputClientDisabled:'; deprecated 'in 10_0, 10_6';
procedure inputClientEnabled (sender: id); message 'inputClientEnabled:'; deprecated 'in 10_0, 10_6';
procedure inputClientResignActive (sender: id); message 'inputClientResignActive:'; deprecated 'in 10_0, 10_6';
procedure insertText_client (aString: id; sender: id); message 'insertText:client:'; deprecated 'in 10_0, 10_6';
procedure markedTextAbandoned (sender: id); message 'markedTextAbandoned:'; deprecated 'in 10_0, 10_6';
procedure markedTextSelectionChanged_client (newSel: NSRange; sender: id); message 'markedTextSelectionChanged:client:'; deprecated 'in 10_0, 10_6';
function mouseDownOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id): ObjCBOOL; message 'mouseDownOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
function mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id): ObjCBOOL; message 'mouseDraggedOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
procedure mouseUpOnCharacterIndex_atCoordinate_withModifier_client (theIndex: NSUInteger; thePoint: NSPoint; theFlags: NSUInteger; sender: id); message 'mouseUpOnCharacterIndex:atCoordinate:withModifier:client:'; deprecated 'in 10_0, 10_6';
procedure terminate (sender: id); message 'terminate:'; deprecated 'in 10_0, 10_6';
function wantsToDelayTextChangeNotifications: ObjCBOOL; message 'wantsToDelayTextChangeNotifications'; deprecated 'in 10_0, 10_6';
function wantsToHandleMouseEvents: ObjCBOOL; message 'wantsToHandleMouseEvents'; deprecated 'in 10_0, 10_6';
function wantsToInterpretAllKeystrokes: ObjCBOOL; message 'wantsToInterpretAllKeystrokes'; deprecated 'in 10_0, 10_6';
end;
{$endif}
|