X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/5edc719e9181e04faaa247bfa389471bc57b9402..0e723d6da33760243cfb8ced14cb4b544109d3b4:/ITOSAScript.h diff --git a/ITOSAScript.h b/ITOSAScript.h index 3d29aa9..547acc6 100755 --- a/ITOSAScript.h +++ b/ITOSAScript.h @@ -20,19 +20,20 @@ @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