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

{$ifdef TYPES}
{$ifndef NSWINDOWSCRIPTING_PAS_T}
{$define NSWINDOWSCRIPTING_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSWINDOWSCRIPTING_PAS_R}
{$define NSWINDOWSCRIPTING_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSWINDOWSCRIPTING_PAS_F}
{$define NSWINDOWSCRIPTING_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSWINDOWSCRIPTING_PAS_S}
{$define NSWINDOWSCRIPTING_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}

{$endif}

{$ifdef CLASSES}
{$ifndef NSWINDOWSCRIPTING_PAS_C}
{$define NSWINDOWSCRIPTING_PAS_C}

{ NSScripting_NSWindowCategory }
  NSScripting_NSWindowCategory = objccategory external name 'NSScripting' (NSWindow)
    function hasCloseBox: Boolean; message 'hasCloseBox';
    function hasTitleBar: Boolean; message 'hasTitleBar';
    function isFloatingPanel: Boolean; message 'isFloatingPanel';
    function isMiniaturizable: Boolean; message 'isMiniaturizable';
    function isModalPanel: Boolean; message 'isModalPanel';
    function isResizable: Boolean; message 'isResizable';
    function isZoomable: Boolean; message 'isZoomable';
    function orderedIndex: NSInteger; message 'orderedIndex';
    procedure setIsMiniaturized(flag: Boolean); message 'setIsMiniaturized:';
    procedure setIsVisible(flag: Boolean); message 'setIsVisible:';
    procedure setIsZoomed(flag: Boolean); message 'setIsZoomed:';
    procedure setOrderedIndex(index: NSInteger); message 'setOrderedIndex:';
    function handleCloseScriptCommand(command: NSCloseCommand): id; message 'handleCloseScriptCommand:';
    function handlePrintScriptCommand(command: NSScriptCommand): id; message 'handlePrintScriptCommand:';
    function handleSaveScriptCommand(command: NSScriptCommand): id; message 'handleSaveScriptCommand:';
  end;

{$endif}
{$endif}