summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/foundation/NSScriptCommandDescription.inc
blob: 60ceae7a30651fd057d5e8c69cfaccc117e4a334 (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
{ Parsed from Foundation.framework NSScriptCommandDescription.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.2 - Thu Sep 17 14:52:46 ICT 2009 }

{$ifdef HEADER}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_H}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_H}
type
  NSScriptCommandDescriptionPointer = Pointer;

{$endif}
{$endif}

{$ifdef TYPES}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_T}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_R}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_F}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_T}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_T}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSScriptCommandDescription = objcclass;

{$endif}

{$ifdef CLASSES}
{$ifndef NSSCRIPTCOMMANDDESCRIPTION_PAS_C}
{$define NSSCRIPTCOMMANDDESCRIPTION_PAS_C}

{ NSScriptCommandDescription }
  NSScriptCommandDescription = objcclass(NSObject, NSCodingProtocol)
  private
    __suiteName: NSString;
    __plistCommandName: NSString;
    __classAppleEventCode: FourCharCode;
    __idAppleEventCode: FourCharCode;
    __objcClassName: NSString;
    __resultTypeNameOrDescription: NSObject;
    __plistResultTypeAppleEventCode: FourCharCode;
    __moreVars: id;
    
  public
    class function alloc: NSScriptCommandDescription; message 'alloc';

    function initWithSuiteName_commandName_dictionary(suiteName_: NSString; commandName_: NSString; commandDeclaration: NSDictionary): id; message 'initWithSuiteName:commandName:dictionary:';
    function suiteName: NSString; message 'suiteName';
    function commandName: NSString; message 'commandName';
    function appleEventClassCode: FourCharCode; message 'appleEventClassCode';
    function appleEventCode: FourCharCode; message 'appleEventCode';
    function commandClassName: NSString; message 'commandClassName';
    function returnType: NSString; message 'returnType';
    function appleEventCodeForReturnType: FourCharCode; message 'appleEventCodeForReturnType';
    function argumentNames: NSArray; message 'argumentNames';
    function typeForArgumentWithName(argumentName: NSString): NSString; message 'typeForArgumentWithName:';
    function appleEventCodeForArgumentWithName(argumentName: NSString): FourCharCode; message 'appleEventCodeForArgumentWithName:';
    function isOptionalArgumentWithName(argumentName: NSString): Boolean; message 'isOptionalArgumentWithName:';
    function createCommandInstance: NSScriptCommand; message 'createCommandInstance';
    function createCommandInstanceWithZone(zone_: NSZonePointer): NSScriptCommand; message 'createCommandInstanceWithZone:';
  end; external;

{$endif}
{$endif}