summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/appkit/NSApplicationScripting.inc
blob: 9a96ade52a04366dbbb7d3bbde6f23eed5437169 (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
{ Parsed from Appkit.framework NSApplicationScripting.h }

{$ifdef TYPES}
{$ifndef NSAPPLICATIONSCRIPTING_PAS_T}
{$define NSAPPLICATIONSCRIPTING_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSAPPLICATIONSCRIPTING_PAS_R}
{$define NSAPPLICATIONSCRIPTING_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSAPPLICATIONSCRIPTING_PAS_F}
{$define NSAPPLICATIONSCRIPTING_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSAPPLICATIONSCRIPTING_PAS_S}
{$define NSAPPLICATIONSCRIPTING_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}

{$endif}

{$ifdef CLASSES}
{$ifndef NSAPPLICATIONSCRIPTING_PAS_C}
{$define NSAPPLICATIONSCRIPTING_PAS_C}

{ NSScripting_NSApplicationCategory }
  NSScripting_NSApplicationCategory = objccategory external name 'NSScripting' (NSApplication)
    function orderedDocuments: NSArray; message 'orderedDocuments';
    function orderedWindows: NSArray; message 'orderedWindows';
  end;

{ NSApplicationScriptingDelegationCategory }
  NSApplicationScriptingDelegationCategory = objccategory external (NSObject)
    function application_delegateHandlesKey(sender: NSApplication; key: NSString): Boolean; message 'application:delegateHandlesKey:';
  end;

{$endif}
{$endif}