зеркало из https://github.com/electron/electron.git
24 строки
583 B
Objective-C
24 строки
583 B
Objective-C
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#import "base/mac/scoped_sending_event.h"
|
|
|
|
@interface AtomApplication : NSApplication<CrAppProtocol,
|
|
CrAppControlProtocol> {
|
|
@private
|
|
BOOL handlingSendEvent_;
|
|
}
|
|
|
|
+ (AtomApplication*)sharedApplication;
|
|
|
|
// CrAppProtocol:
|
|
- (BOOL)isHandlingSendEvent;
|
|
|
|
// CrAppControlProtocol:
|
|
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent;
|
|
|
|
- (IBAction)closeAllWindows:(id)sender;
|
|
|
|
@end
|