summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-22 02:00:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-22 02:00:23 +0200
commit6283f64568fff87f80c0a948644d3c8377cf7ace (patch)
tree1a64c95a7b5d536a2116c3336853b10403bbe024 /ui.h
parentMerge "updater: Clean up the header lines computation." (diff)
parentMerge "recovery: Add ability to set title lines" (diff)
downloadandroid_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.gz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.bz2
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.lz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.xz
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.tar.zst
android_bootable_recovery-6283f64568fff87f80c0a948644d3c8377cf7ace.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