2016-04-21 15:19:32 +03:00
|
|
|
|
|
|
|
#ifndef __MAIN_INTERNAL_H__
|
|
|
|
#define __MAIN_INTERNAL_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-05-26 00:20:33 +03:00
|
|
|
//#ifdef EXTENSION
|
2016-04-21 15:19:32 +03:00
|
|
|
int NSExtensionMain (int argc, char** argv);
|
2016-05-26 00:20:33 +03:00
|
|
|
#ifdef MONOMAC
|
|
|
|
int xamarin_mac_extension_main (int argc, char **argv);
|
2016-04-21 15:19:32 +03:00
|
|
|
#endif
|
2016-05-26 00:20:33 +03:00
|
|
|
//#endif
|
2016-04-21 15:19:32 +03:00
|
|
|
|
|
|
|
#ifdef WATCH_EXTENSION
|
2020-06-26 21:02:44 +03:00
|
|
|
// Some versions of WatchKit.framework defines a main function, others don't.
|
|
|
|
// We decide which one to use in our GenerateMain function
|
|
|
|
int xamarin_watch_extension_main (int argc, char **argv);
|
2016-04-21 15:19:32 +03:00
|
|
|
#endif
|
|
|
|
|
2016-04-26 00:27:10 +03:00
|
|
|
#ifdef TV_EXTENSION
|
|
|
|
int TVExtensionMain (int argc, char **argv);
|
|
|
|
#endif
|
|
|
|
|
2016-04-21 15:19:32 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __MAIN_INTERNAL_H__ */
|