summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 01:52:43 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-22 01:52:43 +0200
commitcba047f9446029523c94a812186fffba9e722669 (patch)
tree1a64c95a7b5d536a2116c3336853b10403bbe024 /ui.h
parentMerge "updater: Clean up the header lines computation." (diff)
parentrecovery: Add ability to set title lines (diff)
downloadandroid_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.gz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.bz2
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.lz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.xz
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.tar.zst
android_bootable_recovery-cba047f9446029523c94a812186fffba9e722669.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