1 // 2 // Copyright 2005 The Android Open Source Project 3 // 4 // Class that manages the simulated device. 5 // 6 #ifndef _SIM_EXTERNAL_RUNTIME_H 7 #define _SIM_EXTERNAL_RUNTIME_H 8 9 /* 10 * Define a thread that listens for the launch of an external runtime. 11 * When we spot one we notify the main thread, which can choose to 12 * accept or reject it. 13 */ 14 class ExternalRuntime : public wxThread { 15 public: ExternalRuntime(void)16 ExternalRuntime(void) {} 17 virtual ~ExternalRuntime(void); 18 19 /* start the thread running */ 20 bool StartThread(void); 21 22 /* thread entry point */ 23 virtual void* Entry(void); 24 }; 25 26 #endif // _SIM_EXTERNAL_RUNTIME_H 27