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