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
|
|
|
}
|
|
|
|
|
2014-11-16 15:04:31 +00:00
|
|
|
- (id)init;
|
|
|
|
|
|
|
|
// Sets the menu that will be returned in "applicationDockMenu:".
|
|
|
|
- (void)setApplicationDockMenu:(ui::MenuModel*)model;
|
|
|
|
|
2013-05-02 12:09:19 +00:00
|
|
|
@end
|