2013-05-02 12:09:19 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
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 "base/mac/scoped_sending_event.h"
|
|
|
|
|
|
|
|
@interface AtomApplication : NSApplication<CrAppProtocol,
|
|
|
|
CrAppControlProtocol> {
|
|
|
|
@private
|
|
|
|
BOOL handlingSendEvent_;
|
|
|
|
}
|
|
|
|
|
2013-05-30 08:03:10 +00:00
|
|
|
+ (AtomApplication*)sharedApplication;
|
|
|
|
|
2013-05-02 12:09:19 +00:00
|
|
|
// CrAppProtocol:
|
|
|
|
- (BOOL)isHandlingSendEvent;
|
|
|
|
|
|
|
|
// CrAppControlProtocol:
|
|
|
|
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
|
|
|
|
|
|
|
|
- (IBAction)closeAllWindows:(id)sender;
|
|
|
|
|
|
|
|
@end
|