John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame] | 1 | #ifndef AOS_INIT_H_ |
| 2 | #define AOS_INIT_H_ |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 3 | |
| 4 | namespace aos { |
| 5 | |
Austin Schuh | 094d09b | 2020-11-20 23:26:52 -0800 | [diff] [blame] | 6 | // Initializes AOS. |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 7 | void InitGoogle(int *argc, char ***argv); |
| 8 | |
Austin Schuh | 094d09b | 2020-11-20 23:26:52 -0800 | [diff] [blame] | 9 | // Returns true if we have been initialized. This is mostly here so |
| 10 | // ShmEventLoop can confirm the world was initialized before running. |
| 11 | bool IsInitialized(); |
Brian Silverman | e4d8b28 | 2015-12-24 13:44:48 -0800 | [diff] [blame] | 12 | |
brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame] | 13 | } // namespace aos |
| 14 | |
John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame] | 15 | #endif // AOS_INIT_H_ |