Upped the default timeout to 45 ticks.
[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