2014-10-31 18:17:05 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 09:49:37 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-05-02 12:09:19 +00:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2014-11-16 15:04:31 +00:00
|
|
|
#import "atom/browser/ui/cocoa/atom_menu_controller.h"
|
|
|
|
|
2013-05-02 12:09:19 +00:00
|
|
|
@interface AtomApplicationDelegate : NSObject<NSApplicationDelegate> {
|
2014-11-16 15:04:31 +00:00
|
|
|
@private
|
|
|
|
base::scoped_nsobject<AtomMenuController> menu_controller_;
|
2013-05-02 12:09:19 +00:00
|
|
|
}
|
|
|
|
|
2018-01-11 22:50:35 +00:00
|
|
|
- (void)tryToTerminateApp:(NSApplication*)app;
|
|
|
|
|
2014-11-16 15:04:31 +00:00
|
|
|
// Sets the menu that will be returned in "applicationDockMenu:".
|
2016-07-02 02:47:40 +00:00
|
|
|
- (void)setApplicationDockMenu:(atom::AtomMenuModel*)model;
|
2014-11-16 15:04:31 +00:00
|
|
|
|
2013-05-02 12:09:19 +00:00
|
|
|
@end
|