Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / cocoaint / src / foundation / NSAppleScript.inc
Size: Mime:
{ Parsed from Foundation.framework NSAppleScript.h }


{$ifdef TYPES}
type
  NSAppleScriptPtr = ^NSAppleScript;
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
var
  NSAppleScriptErrorMessage: NSString { available in 10_2, NA }; cvar; external;
  NSAppleScriptErrorNumber: NSString { available in 10_2, NA }; cvar; external;
  NSAppleScriptErrorAppName: NSString { available in 10_2, NA }; cvar; external;
  NSAppleScriptErrorBriefMessage: NSString { available in 10_2, NA }; cvar; external;
  NSAppleScriptErrorRange: NSString { available in 10_2, NA }; cvar; external;
{$endif}

{$ifdef CLASSES}

type
  NSAppleScript = objcclass external (NSObject, NSCopyingProtocol)
  private
    _source: NSString;
    _compiledScriptID: cuint;
    _reserved1: pointer;
    _reserved2: pointer;
  public
    function initWithContentsOfURL_error (url: NSURL; errorInfo: NSDictionaryPtr): instancetype; message 'initWithContentsOfURL:error:'; { NS_DESIGNATED_INITIALIZER }
    function initWithSource (source: NSString): instancetype; message 'initWithSource:'; { NS_DESIGNATED_INITIALIZER }
    function source: NSString; message 'source';
    function isCompiled: ObjCBOOL; message 'isCompiled';
    function compileAndReturnError (errorInfo: NSDictionaryPtr): ObjCBOOL; message 'compileAndReturnError:';
    function executeAndReturnError (errorInfo: NSDictionaryPtr): NSAppleEventDescriptor; message 'executeAndReturnError:';
    function executeAppleEvent_error (event: NSAppleEventDescriptor; errorInfo: NSDictionaryPtr): NSAppleEventDescriptor; message 'executeAppleEvent:error:';

    { Adopted protocols }
    function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
  end;
{$endif}