ITOSAScript stuff.
[ITFoundation.git] / ITOSAScript.h
1 /*
2  *      ITFoundation
3  *      ITOSAScript
4  *          An extended NSAppleScript that allows any OSA language.
5  *
6  *      Original Author : Kent Sutherland <ksutherland@ithinksw.com>
7  *      Responsibility : Kent Sutherland <ksutherland@ithinksw.com>
8  *      Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
9  *
10  *      Copyright (c) 2002 - 2004 iThink Software.
11  *      All Rights Reserved
12  *
13  */
14
15 #import <Foundation/Foundation.h>
16 #import <Carbon/Carbon.h>
17
18 @interface ITOSAScript : NSObject {
19     NSString *_source;
20     unsigned long _scriptSubtype;
21 }
22
23 - (id)initWithContentsOfFile:(NSString *)path;
24 - (id)initWithSource:(NSString *)source;
25
26 - (NSString *)source;
27 - (void)setSource:(NSString *)newSource;
28 - (unsigned long)scriptSubtype;
29 - (void)setScriptSubtype:(unsigned long)newSubtype;
30
31 - (NSString *)execute;
32
33 @end