aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-01-19 22:18:02 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-01-19 22:28:52 +0100
commit3bbc919b70c78e0be6387d06faa90743deedb4dc (patch)
tree9381676c67914b253f4e3ebfe67bdd361394358f /android/qemulator.h
parent3336176fc898915b7b5544f3a7c60ec2794507c3 (diff)
downloadexternal_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.zip
external_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.tar.gz
external_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.tar.bz2
Compute default memory size from screen size.
This change is used when using a magic skin (e.g. -skin 800x600) or when using the full Android build system, in order to determine a good default for the RAM size. Change-Id: I900e28146592cdd3f0df9b3f1828b119309eea85
Diffstat (limited to 'android/qemulator.h')
-rw-r--r--android/qemulator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/qemulator.h b/android/qemulator.h
index 189cc53..b343f98 100644
--- a/android/qemulator.h
+++ b/android/qemulator.h
@@ -50,6 +50,11 @@ qemulator_init( QEmulator* emulator,
int y,
AndroidOptions* opts );
+void
+qemulator_get_screen_size( QEmulator* emulator,
+ int *width,
+ int *height );
+
/* Uninitializes QEmulator structure instance on exit. */
void
qemulator_done( QEmulator* emulator );