| 
									
										
										
										
											2013-05-02 20:09:19 +08:00
										 |  |  | // 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_; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-30 16:03:10 +08:00
										 |  |  | + (AtomApplication*)sharedApplication; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-02 20:09:19 +08:00
										 |  |  | // CrAppProtocol:
 | 
					
						
							|  |  |  | - (BOOL)isHandlingSendEvent; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // CrAppControlProtocol:
 | 
					
						
							|  |  |  | - (void)setHandlingSendEvent:(BOOL)handlingSendEvent; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - (IBAction)closeAllWindows:(id)sender; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @end |