2014-10-31 11:17:05 -07:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 17:49:37 +08:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-04-12 09:46:58 +08:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2019-06-19 13:56:58 -07:00
|
|
|
#ifndef SHELL_APP_ATOM_LIBRARY_MAIN_H_
|
|
|
|
#define SHELL_APP_ATOM_LIBRARY_MAIN_H_
|
2013-04-12 09:46:58 +08:00
|
|
|
|
2016-03-08 23:28:53 +09:00
|
|
|
#include "build/build_config.h"
|
2018-10-02 01:30:53 +05:30
|
|
|
#include "electron/buildflags/buildflags.h"
|
2013-07-01 22:21:31 +08:00
|
|
|
|
|
|
|
#if defined(OS_MACOSX)
|
2013-04-12 09:46:58 +08:00
|
|
|
extern "C" {
|
2018-04-17 21:44:10 -04:00
|
|
|
__attribute__((visibility("default"))) int AtomMain(int argc, char* argv[]);
|
2015-01-16 15:54:38 -08:00
|
|
|
|
2018-10-02 01:30:53 +05:30
|
|
|
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
|
2018-04-17 21:44:10 -04:00
|
|
|
__attribute__((visibility("default"))) int AtomInitializeICUandStartNode(
|
|
|
|
int argc,
|
|
|
|
char* argv[]);
|
2018-03-09 10:51:09 +01:00
|
|
|
#endif
|
2013-04-12 09:46:58 +08:00
|
|
|
}
|
2013-07-01 22:21:31 +08:00
|
|
|
#endif // OS_MACOSX
|
2013-04-12 09:46:58 +08:00
|
|
|
|
2019-06-19 13:56:58 -07:00
|
|
|
#endif // SHELL_APP_ATOM_LIBRARY_MAIN_H_
|