summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 02:14:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-22 02:14:56 +0200
commit118d6ac3a0394a0dd0ee938631d985d807402c32 (patch)
tree7940caa0e1a245ecfdb8fb0ae00799b850c8b5a3 /ui.h
parentMerge "updater: Clean up the header lines computation." am: a5735e9b5f am: 1e29bb6717 (diff)
parentMerge "recovery: Add ability to set title lines" am: cba047f944 (diff)
downloadandroid_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar.gz
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar.bz2
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar.lz
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar.xz
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.tar.zst
android_bootable_recovery-118d6ac3a0394a0dd0ee938631d985d807402c32.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 39284268d..a74b14f85 100644
--- a/ui.h
+++ b/ui.h
@@ -134,6 +134,8 @@ class RecoveryUI {
// --- menu display ---
+ virtual void SetTitle(const std::vector<std::string>& lines) = 0;
+
// Displays a menu with the given 'headers' and 'items'. The supplied 'key_handler' callback,
// which is typically bound to Device::HandleMenuKey(), should return the expected action for the
// given key code and menu visibility (e.g. to move the cursor or to select an item). Caller sets