X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/f52146424225e2d13a8fe7a29d703676c91d0d46..5edc719e9181e04faaa247bfa389471bc57b9402:/ITOSAScript.h diff --git a/ITOSAScript.h b/ITOSAScript.h index 8462951..3d29aa9 100755 --- a/ITOSAScript.h +++ b/ITOSAScript.h @@ -15,9 +15,11 @@ #import #import +@class ITOSAComponent; + @interface ITOSAScript : NSObject { NSString *_source; - unsigned long _scriptSubtype; + ITOSAComponent *_component; } - (id)initWithContentsOfFile:(NSString *)path; @@ -25,8 +27,11 @@ - (NSString *)source; - (void)setSource:(NSString *)newSource; -- (unsigned long)scriptSubtype; -- (void)setScriptSubtype:(unsigned long)newSubtype; +- (ITOSAComponent *)component; +- (void)setComponent:(ITOSAComponent *)newComponent; + +- (BOOL)compile; +- (BOOL)isCompiled; - (NSString *)execute;