summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/foundation/NSScriptStandardSuiteCommands.inc
blob: 168c3f7371c2b5ea6a89328be14c73908c5e8f56 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{ Parsed from Foundation.framework NSScriptStandardSuiteCommands.h }

{$ifdef TYPES}
{$ifndef NSSCRIPTSTANDARDSUITECOMMANDS_PAS_T}
{$define NSSCRIPTSTANDARDSUITECOMMANDS_PAS_T}

{ Constants }

const
  NSSaveOptionsYes = 0;
  NSSaveOptionsNo = 1;
  NSSaveOptionsAsk = 2;

{ Types }
type
  NSSaveOptions = NSUInteger;
  NSSaveOptionsPtr = ^NSSaveOptions;

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSSCRIPTSTANDARDSUITECOMMANDS_PAS_R}
{$define NSSCRIPTSTANDARDSUITECOMMANDS_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSSCRIPTSTANDARDSUITECOMMANDS_PAS_F}
{$define NSSCRIPTSTANDARDSUITECOMMANDS_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSCRIPTSTANDARDSUITECOMMANDS_PAS_S}
{$define NSSCRIPTSTANDARDSUITECOMMANDS_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSCloneCommand = objcclass;
  NSCloneCommandPointer = ^NSCloneCommand;
  NSCloneCommandPtr = NSCloneCommandPointer;
  NSCloseCommand = objcclass;
  NSCloseCommandPointer = ^NSCloseCommand;
  NSCloseCommandPtr = NSCloseCommandPointer;
  NSCountCommand = objcclass;
  NSCountCommandPointer = ^NSCountCommand;
  NSCountCommandPtr = NSCountCommandPointer;
  NSCreateCommand = objcclass;
  NSCreateCommandPointer = ^NSCreateCommand;
  NSCreateCommandPtr = NSCreateCommandPointer;
  NSDeleteCommand = objcclass;
  NSDeleteCommandPointer = ^NSDeleteCommand;
  NSDeleteCommandPtr = NSDeleteCommandPointer;
  NSExistsCommand = objcclass;
  NSExistsCommandPointer = ^NSExistsCommand;
  NSExistsCommandPtr = NSExistsCommandPointer;
  NSGetCommand = objcclass;
  NSGetCommandPointer = ^NSGetCommand;
  NSGetCommandPtr = NSGetCommandPointer;
  NSMoveCommand = objcclass;
  NSMoveCommandPointer = ^NSMoveCommand;
  NSMoveCommandPtr = NSMoveCommandPointer;
  NSQuitCommand = objcclass;
  NSQuitCommandPointer = ^NSQuitCommand;
  NSQuitCommandPtr = NSQuitCommandPointer;
  NSSetCommand = objcclass;
  NSSetCommandPointer = ^NSSetCommand;
  NSSetCommandPtr = NSSetCommandPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSSCRIPTSTANDARDSUITECOMMANDS_PAS_C}
{$define NSSCRIPTSTANDARDSUITECOMMANDS_PAS_C}

{ NSCloneCommand }
  NSCloneCommand = objcclass external (NSScriptCommand)
  private
    _keySpecifier: NSScriptObjectSpecifier;
    
  public
    procedure setReceiversSpecifier(receiversRef: NSScriptObjectSpecifier); message 'setReceiversSpecifier:';
    function keySpecifier: NSScriptObjectSpecifier; message 'keySpecifier';
  end;

{ NSCloseCommand }
  NSCloseCommand = objcclass external (NSScriptCommand)
    
  public
    function saveOptions: NSSaveOptions; message 'saveOptions';
  end;

{ NSCountCommand }
  NSCountCommand = objcclass external (NSScriptCommand)
    
  public
  end;

{ NSCreateCommand }
  NSCreateCommand = objcclass external (NSScriptCommand)
  private
    _moreVars2: id;
    
  public
    function createClassDescription: NSScriptClassDescription; message 'createClassDescription';
    function resolvedKeyDictionary: NSDictionary; message 'resolvedKeyDictionary';
  end;

{ NSDeleteCommand }
  NSDeleteCommand = objcclass external (NSScriptCommand)
  private
    _keySpecifier: NSScriptObjectSpecifier;
    
  public
    procedure setReceiversSpecifier(receiversRef: NSScriptObjectSpecifier); message 'setReceiversSpecifier:';
    function keySpecifier: NSScriptObjectSpecifier; message 'keySpecifier';
  end;

{ NSExistsCommand }
  NSExistsCommand = objcclass external (NSScriptCommand)
    
  public
  end;

{ NSGetCommand }
  NSGetCommand = objcclass external (NSScriptCommand)
    
  public
  end;

{ NSMoveCommand }
  NSMoveCommand = objcclass external (NSScriptCommand)
  private
    _keySpecifier: NSScriptObjectSpecifier;
    
  public
    procedure setReceiversSpecifier(receiversRef: NSScriptObjectSpecifier); message 'setReceiversSpecifier:';
    function keySpecifier: NSScriptObjectSpecifier; message 'keySpecifier';
  end;

{ NSQuitCommand }
  NSQuitCommand = objcclass external (NSScriptCommand)
    
  public
    function saveOptions: NSSaveOptions; message 'saveOptions';
  end;

{ NSSetCommand }
  NSSetCommand = objcclass external (NSScriptCommand)
  private
    _keySpecifier: NSScriptObjectSpecifier;
    
  public
    procedure setReceiversSpecifier(receiversRef: NSScriptObjectSpecifier); message 'setReceiversSpecifier:';
    function keySpecifier: NSScriptObjectSpecifier; message 'keySpecifier';
  end;

{$endif}
{$endif}