Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1.0 kB · 41 lines
C
at vchroot
123456789101112131415161718192021222324252627282930313233343536373839404142#import <Foundation/Foundation.h>#import <ApplicationServices/ApplicationServices.h>
NS_ASSUME_NONNULL_BEGIN
@class SBAppContext, SBElementArray;
NS_CLASS_AVAILABLE(10_5, NA)@interface SBObject : NSObject <NSCoding>{ AEDesc _specifier; SBAppContext *_ctx; id _reserved;}
- (instancetype) init;- (instancetype) initWithProperties:(NSDictionary *)properties;- (instancetype) initWithData:(id)data;
- (nullable id) get;
- (nullable NSError *) lastError NS_AVAILABLE(10_6, NA);
@end
@interface SBObject (SBGlueInterface)
- (instancetype) initWithElementCode:(DescType)code properties:(nullable NSDictionary<NSString *, id> *)properties data:(nullable id)data;
- (SBObject *) propertyWithCode:(AEKeyword)code;- (SBObject *) propertyWithClass:(Class)cls code:(AEKeyword)code;
- (SBElementArray *) elementArrayWithCode:(DescType)code;
- (id) sendEvent:(AEEventClass)eventClass id:(AEEventID)eventID parameters:(DescType)firstParamCode, ...;
- (void) setTo:(nullable id)value;
@end
NS_ASSUME_NONNULL_END