Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (34 sloc) 1.02 kb
ee99867 @ccgus oh geeze
authored
1 //
2 // JSTalk.h
3 // jstalk
4 //
5 // Created by August Mueller on 1/15/09.
6 // Copyright 2009 Flying Meat Inc. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
45e4620 @ccgus Updates for a script to package everything into one very large .m file.
authored
10
11 @class JSCocoaController;
ee99867 @ccgus oh geeze
authored
12
13 @interface JSTalk : NSObject {
14 id _printController;
15 id _errorController;
16 JSCocoaController *_jsController;
1a4ff63 Added support for some sort of JSTalk envirnoment vars, which you can…
August Mueller authored
17 NSMutableDictionary *_env;
48d84ea @ccgus Added a flag to JSTalk which will tell it not to preprocess code. Th…
authored
18 BOOL _shouldPreprocess;
ee99867 @ccgus oh geeze
authored
19 }
20
21 @property (assign) id printController;
22 @property (assign) id errorController;
23 @property (retain) JSCocoaController *jsController;
1a4ff63 Added support for some sort of JSTalk envirnoment vars, which you can…
August Mueller authored
24 @property (retain) NSMutableDictionary *env;
48d84ea @ccgus Added a flag to JSTalk which will tell it not to preprocess code. Th…
authored
25 @property (assign) BOOL shouldPreprocess;
ee99867 @ccgus oh geeze
authored
26
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
27 - (id)executeString:(NSString*) str;
28 - (void)pushObject:(id)obj withName:(NSString*)name;
29 - (void)deleteObjectWithName:(NSString*)name;
ee99867 @ccgus oh geeze
authored
30
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
31 - (JSCocoaController*)jsController;
32 - (id)callFunctionNamed:(NSString*)name withArguments:(NSArray*)args;
ee99867 @ccgus oh geeze
authored
33
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
34 + (void)listen;
1d83afe @ccgus Added support for double clicking JSTalk plugins to install them.
authored
35 + (void)resetPlugins;
9db46e0 @ccgus Added some hooks so that extras can have their class loaded at startu…
authored
36 + (void)loadPlugins;
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
37 + (void)setShouldLoadJSTPlugins:(BOOL)b;
38 + (id)application:(NSString*)app;
d67ffb2 @rentzsch Add +app: to shorten up app communication.
rentzsch authored
39 + (id)app:(NSString*)app;
511ca82 @ccgus Code Sketchen'
authored
40 + (JSTalk*)currentJSTalk;
ee99867 @ccgus oh geeze
authored
41
42 @end
Something went wrong with that request. Please try again.