blob: 774a2cd98752087b55c232dae64ed5086a87c2df [file] [log] [blame]
The Android Open Source Project52d4c302009-03-03 19:29:09 -08001//
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 */
14class ExternalRuntime : public wxThread {
15public:
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