electron/shell/common/mac/main_application_bundle.h

27 lines
852 B
C
Raw Normal View History

2018-10-24 10:49:10 +00: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.
2019-06-19 20:56:58 +00:00
#ifndef SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
#define SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
2018-10-24 10:49:10 +00:00
@class NSBundle;
namespace base {
class FilePath;
}
namespace atom {
// 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 atom
2019-06-19 20:56:58 +00:00
#endif // SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_