Add 'will-finish-launching' event for app.

This commit is contained in:
Cheng Zhao 2013-06-03 15:31:46 +08:00
parent e4d2368908
commit bf409efc46
7 changed files with 16 additions and 0 deletions

View file

@ -10,6 +10,10 @@
@implementation AtomApplicationDelegate
- (void)applicationWillFinishLaunching:(NSNotification*)notify {
atom::Browser::Get()->WillFinishLaunching();
}
- (void)applicationDidFinishLaunching:(NSNotification*)notify {
// Trap the quit message to handleQuitEvent.
NSAppleEventManager* em = [NSAppleEventManager sharedAppleEventManager];