electron_library_main.h 610 B

1234567891011121314151617181920
  1. // Copyright (c) 2013 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
  5. #define ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
  6. #include "build/build_config.h"
  7. #include "electron/buildflags/buildflags.h"
  8. #if BUILDFLAG(IS_MAC)
  9. extern "C" {
  10. __attribute__((visibility("default"))) int ElectronMain(int argc, char* argv[]);
  11. __attribute__((visibility("default"))) int ElectronInitializeICUandStartNode(
  12. int argc,
  13. char* argv[]);
  14. }
  15. #endif
  16. #endif // ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_