aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2015-02-03 09:56:57 -0800
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:47 -0800
commitf028ccd3443a4526c245c8c664b37588be301eb2 (patch)
tree6608d58a19aa2821157b01b8754a8805a12ba7dd /ui.h
parentd644eb58fde7d39a416850af3caeb4cbce514ec8 (diff)
downloadbootable_recovery-f028ccd3443a4526c245c8c664b37588be301eb2.zip
bootable_recovery-f028ccd3443a4526c245c8c664b37588be301eb2.tar.gz
bootable_recovery-f028ccd3443a4526c245c8c664b37588be301eb2.tar.bz2
recovery: Headless mode
Change-Id: I6b54bde65264aee99cb51a19436e82054b31fe74
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index df7fbde..abe4bca 100644
--- a/ui.h
+++ b/ui.h
@@ -106,7 +106,7 @@ class RecoveryUI {
virtual void SetLocale(const char* locale) = 0;
// Set the overall recovery state ("background image").
- enum Icon { NONE, INSTALLING_UPDATE, VIEWING_LOG, ERASING, NO_COMMAND, D_INFO, D_ERROR, NR_ICONS };
+ enum Icon { NONE, INSTALLING_UPDATE, VIEWING_LOG, ERASING, NO_COMMAND, D_INFO, D_ERROR, HEADLESS, NR_ICONS };
virtual void SetBackground(Icon icon) = 0;
// --- progress indicator ---
@@ -145,6 +145,7 @@ class RecoveryUI {
virtual int DialogShowing() const = 0;
virtual bool DialogDismissable() const = 0;
virtual void DialogDismiss() = 0;
+ virtual void SetHeadlessMode() = 0;
// --- key handling ---