X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/5edc719e9181e04faaa247bfa389471bc57b9402..3275385775db14f654afff24919314941b8a1b7b:/ITOSAScript.h diff --git a/ITOSAScript.h b/ITOSAScript.h index 3d29aa9..7c8d337 100755 --- a/ITOSAScript.h +++ b/ITOSAScript.h @@ -20,19 +20,18 @@ @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; +- (NSString *)executeAndReturnError:(NSDictionary **)errorInfo; @end