Emit 'open-file' event when OS X is trying to open file with the app.
This commit is contained in:
parent
01af2fd0c5
commit
7dd48e24d3
10 changed files with 49 additions and 3 deletions
|
@ -10,13 +10,15 @@
|
|||
BOOL handlingSendEvent_;
|
||||
}
|
||||
|
||||
+ (AtomApplication*)sharedApplication;
|
||||
|
||||
// CrAppProtocol:
|
||||
- (BOOL)isHandlingSendEvent;
|
||||
|
||||
// CrAppControlProtocol:
|
||||
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
|
||||
|
||||
+ (AtomApplication*)sharedApplication;
|
||||
- (BOOL)openFile:(NSString*)file;
|
||||
|
||||
- (IBAction)closeAllWindows:(id)sender;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue