mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
This is called after openFiles and so the default path will open be opened if other explicit files were not opened such as by dropping onto the dock icon
27 lines
796 B
Objective-C
27 lines
796 B
Objective-C
#include "include/cef_app.h"
|
|
#include "include/cef_application_mac.h"
|
|
|
|
class AtomCefClient;
|
|
|
|
@interface AtomApplication : NSApplication <CefAppProtocol, NSApplicationDelegate> {
|
|
NSWindowController *_backgroundWindowController;
|
|
NSDictionary *_arguments;
|
|
BOOL _filesOpened;
|
|
BOOL handlingSendEvent_;
|
|
}
|
|
|
|
+ (AtomApplication *)sharedApplication;
|
|
+ (id)applicationWithArguments:(char **)argv count:(int)argc;
|
|
+ (CefSettings)createCefSettings;
|
|
+ (NSDictionary *)parseArguments:(char **)argv count:(int)argc;
|
|
- (void)open:(NSString *)path;
|
|
- (IBAction)runSpecs:(id)sender;
|
|
- (IBAction)runBenchmarks:(id)sender;
|
|
- (void)runSpecsThenExit:(BOOL)exitWhenDone;
|
|
- (NSDictionary *)arguments;
|
|
- (void)runBenchmarksThenExit:(BOOL)exitWhenDone;
|
|
|
|
@property (nonatomic, retain) NSDictionary *arguments;
|
|
|
|
@end
|