| 
									
										
										
										
											2018-10-24 12:49:10 +02:00
										 |  |  | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
 | 
					
						
							|  |  |  | // Copyright (c) 2013 Adam Roben <adam@roben.org>. All rights reserved.
 | 
					
						
							|  |  |  | // Use of this source code is governed by a BSD-style license that can be
 | 
					
						
							|  |  |  | // found in the LICENSE-CHROMIUM file.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 08:34:31 +01:00
										 |  |  | #ifndef ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
 | 
					
						
							|  |  |  | #define ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
 | 
					
						
							| 
									
										
										
										
											2018-10-24 12:49:10 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-09 11:56:40 +02:00
										 |  |  | #ifdef __OBJC__
 | 
					
						
							| 
									
										
										
										
											2018-10-24 12:49:10 +02:00
										 |  |  | @class NSBundle; | 
					
						
							| 
									
										
										
										
											2019-07-09 11:56:40 +02:00
										 |  |  | #else
 | 
					
						
							|  |  |  | struct NSBundle; | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2018-10-24 12:49:10 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace base { | 
					
						
							|  |  |  | class FilePath; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace electron { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // The "main" application bundle is the outermost bundle for this logical
 | 
					
						
							|  |  |  | // application. E.g., if you have MyApp.app and
 | 
					
						
							|  |  |  | // MyApp.app/Contents/Frameworks/MyApp Helper.app, the main application bundle
 | 
					
						
							|  |  |  | // is MyApp.app, no matter which executable is currently running.
 | 
					
						
							|  |  |  | NSBundle* MainApplicationBundle(); | 
					
						
							|  |  |  | base::FilePath MainApplicationBundlePath(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace electron
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 08:34:31 +01:00
										 |  |  | #endif  // ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
 |