summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-07 20:21:10 +0200
committerJerry Zhang <zhangjerry@google.com>2018-05-22 01:37:07 +0200
commit0e577ee424acf7a5e6600560d702ab3c8020a29f (patch)
tree5188fa84f7382e2a4c328d57a1b2b019083b6133 /ui.h
parentMerge "Move stuff from recovery into librecovery." (diff)
downloadandroid_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.gz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.bz2
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.lz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.xz
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.tar.zst
android_bootable_recovery-0e577ee424acf7a5e6600560d702ab3c8020a29f.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