summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 02:05:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-22 02:05:28 +0200
commitebc910901cf7815e521995d0a1645531cfd65648 (patch)
tree7940caa0e1a245ecfdb8fb0ae00799b850c8b5a3 /ui.h
parentMerge "updater: Clean up the header lines computation." am: a5735e9b5f (diff)
parentMerge "recovery: Add ability to set title lines" (diff)
downloadandroid_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.gz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.bz2
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.lz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.xz
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.zst
android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.zip
Diffstat (limited to '')
-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