Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 40 lines (32 sloc) 0.976 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>
10 #import "JSCocoaController.h"
11
12 @interface JSTalk : NSObject {
13 id _printController;
14 id _errorController;
15 JSCocoaController *_jsController;
1a4ff63 Added support for some sort of JSTalk envirnoment vars, which you can…
August Mueller authored
16 NSMutableDictionary *_env;
48d84ea @ccgus Added a flag to JSTalk which will tell it not to preprocess code. Th…
authored
17 BOOL _shouldPreprocess;
ee99867 @ccgus oh geeze
authored
18 }
19
20 @property (assign) id printController;
21 @property (assign) id errorController;
22 @property (retain) JSCocoaController *jsController;
1a4ff63 Added support for some sort of JSTalk envirnoment vars, which you can…
August Mueller authored
23 @property (retain) NSMutableDictionary *env;
48d84ea @ccgus Added a flag to JSTalk which will tell it not to preprocess code. Th…
authored
24 @property (assign) BOOL shouldPreprocess;
ee99867 @ccgus oh geeze
authored
25
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
26 - (id)executeString:(NSString*) str;
27 - (void)pushObject:(id)obj withName:(NSString*)name;
28 - (void)deleteObjectWithName:(NSString*)name;
ee99867 @ccgus oh geeze
authored
29
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
30 - (JSCocoaController*)jsController;
31 - (id)callFunctionNamed:(NSString*)name withArguments:(NSArray*)args;
ee99867 @ccgus oh geeze
authored
32
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
33 + (void)listen;
1d83afe @ccgus Added support for double clicking JSTalk plugins to install them.
authored
34 + (void)resetPlugins;
c07386b @ccgus Added a new method "include" which includes and evals the named file
authored
35 + (void)setShouldLoadJSTPlugins:(BOOL)b;
36 + (id)application:(NSString*)app;
d67ffb2 @rentzsch Add +app: to shorten up app communication.
rentzsch authored
37 + (id)app:(NSString*)app;
ee99867 @ccgus oh geeze
authored
38
39 @end
Something went wrong with that request. Please try again.