Adding a category to NSProxy that fixes a bug so as to allow NSProxies to be
[ITFoundation.git] / ITOSAScript.h
index 3d29aa9..547acc6 100755 (executable)
 @interface ITOSAScript : NSObject {
     NSString *_source;
     ITOSAComponent *_component;
+    OSAID _scriptID;
 }
 
 - (id)initWithContentsOfFile:(NSString *)path;
 - (id)initWithSource:(NSString *)source;
 
 - (NSString *)source;
-- (void)setSource:(NSString *)newSource;
+
 - (ITOSAComponent *)component;
 - (void)setComponent:(ITOSAComponent *)newComponent;
 
-- (BOOL)compile;
+- (BOOL)compileAndReturnError:(NSDictionary **)errorInfo;
 - (BOOL)isCompiled;
 
-- (NSString *)execute;
+- (NSAppleEventDescriptor *)executeAndReturnError:(NSDictionary **)errorInfo;
 
 @end