mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
24 lines
649 B
Objective-C
24 lines
649 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import "JSCocoa.h"
|
|
|
|
@class JSCocoa, WebView, FileSystemHelper;
|
|
|
|
struct JSGlobalContextRef;
|
|
|
|
@interface AtomController : NSWindowController <NSWindowDelegate>
|
|
|
|
@property (assign) WebView *webView;
|
|
@property (nonatomic, retain, readonly) NSString *url;
|
|
@property (nonatomic, retain, readonly) NSString *bootstrapScript;
|
|
@property (nonatomic, retain, readonly) FileSystemHelper *fs;
|
|
|
|
- (id)initForSpecs;
|
|
- (id)initWithURL:(NSString *)url;
|
|
|
|
- (void)triggerAtomEventWithName:(NSString *)name data:(id)data;
|
|
- (void)reload;
|
|
- (JSValueRefAndContextRef)jsWindow;
|
|
- (void)performActionForMenuItemPath:(NSString *)menuItemPath;
|
|
|
|
@end
|