git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
what
[ITFoundation.git]
/
ITOSAScript.h
diff --git
a/ITOSAScript.h
b/ITOSAScript.h
index
8462951
..
547acc6
100755
(executable)
--- a/
ITOSAScript.h
+++ b/
ITOSAScript.h
@@
-15,19
+15,25
@@
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
+@class ITOSAComponent;
+
@interface ITOSAScript : NSObject {
NSString *_source;
@interface ITOSAScript : NSObject {
NSString *_source;
- unsigned long _scriptSubtype;
+ ITOSAComponent *_component;
+ OSAID _scriptID;
}
- (id)initWithContentsOfFile:(NSString *)path;
- (id)initWithSource:(NSString *)source;
- (NSString *)source;
}
- (id)initWithContentsOfFile:(NSString *)path;
- (id)initWithSource:(NSString *)source;
- (NSString *)source;
-- (void)setSource:(NSString *)newSource;
-- (unsigned long)scriptSubtype;
-- (void)setScriptSubtype:(unsigned long)newSubtype;
-- (NSString *)execute;
+- (ITOSAComponent *)component;
+- (void)setComponent:(ITOSAComponent *)newComponent;
+
+- (BOOL)compileAndReturnError:(NSDictionary **)errorInfo;
+- (BOOL)isCompiled;
+
+- (NSAppleEventDescriptor *)executeAndReturnError:(NSDictionary **)errorInfo;
@end
@end