aboutsummaryrefslogtreecommitdiffstats
path: root/android/main-common.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-23 15:57:25 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-02-23 17:05:34 +0100
commitbdb6f2dd35a4c749186e665d55d7b76375d7e71d (patch)
tree327f76a87735a2276ad2e0ac3572796f6c677aa6 /android/main-common.h
parentdd90991bb911bc61c885f710a848692b593b72c3 (diff)
downloadexternal_qemu-bdb6f2dd35a4c749186e665d55d7b76375d7e71d.zip
external_qemu-bdb6f2dd35a4c749186e665d55d7b76375d7e71d.tar.gz
external_qemu-bdb6f2dd35a4c749186e665d55d7b76375d7e71d.tar.bz2
Remove android/main-ui.c
The differences between android/main.c and android/main-ui.c are now minimal, so remove the latter source file by moving the corresponding code into android/main-common.c Also add a -snapshot-no-time-update core option to implement the emulator-ui -no-snapshot-update-time option. We're probably going to clean this up a little in the future, but this is enough for now. Change-Id: I868bb4e47c3d106ae7436ee3f5b2c0ff5fb6ea5c
Diffstat (limited to 'android/main-common.h')
-rw-r--r--android/main-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/main-common.h b/android/main-common.h
index 102d4e4..c26b9b9 100644
--- a/android/main-common.h
+++ b/android/main-common.h
@@ -78,4 +78,14 @@ struct AvdInfo* createAVD(AndroidOptions* opts, int* inAndroidBuild);
void updateHwConfigFromAVD(AndroidHwConfig* hwConfig, struct AvdInfo* avd,
AndroidOptions* opts, int inAndroidBuild);
+/* Called from android/main.c to handle options specific to the standalone
+ * UI program. This is a no-op otherwise.
+ */
+void handle_ui_options( AndroidOptions* opts );
+
+/* Called from android/main.c to potentially attach to a core from the
+ * standalone UI program. This is a no-op otherwise.
+ */
+int attach_ui_to_core( AndroidOptions* opts );
+
#endif /* ANDROID_MAIN_COMMON_H */