X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/5edc719e9181e04faaa247bfa389471bc57b9402..a562b4a9e91163116b73f2df7d6589d812d2278e:/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