X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/4e658921daf0f71aa39722ddecc5799bf2bc1d8e..f52146424225e2d13a8fe7a29d703676c91d0d46:/ITOSAScript.h diff --git a/ITOSAScript.h b/ITOSAScript.h new file mode 100755 index 0000000..8462951 --- /dev/null +++ b/ITOSAScript.h @@ -0,0 +1,33 @@ +/* + * ITFoundation + * ITOSAScript + * An extended NSAppleScript that allows any OSA language. + * + * Original Author : Kent Sutherland + * Responsibility : Kent Sutherland + * Responsibility : Joseph Spiros + * + * Copyright (c) 2002 - 2004 iThink Software. + * All Rights Reserved + * + */ + +#import +#import + +@interface ITOSAScript : NSObject { + NSString *_source; + unsigned long _scriptSubtype; +} + +- (id)initWithContentsOfFile:(NSString *)path; +- (id)initWithSource:(NSString *)source; + +- (NSString *)source; +- (void)setSource:(NSString *)newSource; +- (unsigned long)scriptSubtype; +- (void)setScriptSubtype:(unsigned long)newSubtype; + +- (NSString *)execute; + +@end