SBObject.inc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. { Parsed from ScriptingBridge.framework SBObject.h }
  2. {$ifdef TYPES}
  3. type
  4. SBObjectPtr = ^SBObject;
  5. {$endif}
  6. {$ifdef CLASSES}
  7. type
  8. SBObject = objcclass external (NSObject, NSCodingProtocol)
  9. private
  10. _specifier: AEDesc;
  11. _ctx: SBAppContext;
  12. _reserved: id;
  13. public
  14. function init: id; message 'init';
  15. function initWithProperties (properties: NSDictionary): id; message 'initWithProperties:';
  16. function initWithData (data: id): id; message 'initWithData:';
  17. function get: id; message 'get';
  18. function lastError: NSError; message 'lastError'; { available in 10_6, NA }
  19. { Adopted protocols }
  20. procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
  21. function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
  22. end;
  23. type
  24. SBGlueInterface = objccategory external (SBObject)
  25. function initWithElementCode_properties_data (code: DescType; properties: NSDictionary; data: id): id; message 'initWithElementCode:properties:data:';
  26. function propertyWithCode (code: AEKeyword): SBObject; message 'propertyWithCode:';
  27. function propertyWithClass_code (cls: pobjc_class; code: AEKeyword): SBObject; message 'propertyWithClass:code:';
  28. function elementArrayWithCode (code: DescType): SBElementArray; message 'elementArrayWithCode:';
  29. function sendEvent_id_parameters (eventClass: AEEventClass; eventID: AEEventID; firstParamCode: DescType): id; varargs; message 'sendEvent:id:parameters:';
  30. procedure setTo (value: id); message 'setTo:';
  31. end;
  32. {$endif}