summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 21:43:18 +0200
committerTao Bao <tbao@google.com>2018-05-02 21:46:21 +0200
commit1d156b988244660739c56803c87576f0403569ac (patch)
treea687cef952fe46ec15e4d9ea511a67c3bbb4fc5a /ui.h
parentMerge "Add ScreenRecoveryUI::ShowMenu()." (diff)
downloadandroid_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.gz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.bz2
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.lz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.xz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.zst
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.zip
Diffstat (limited to '')
-rw-r--r--ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 636c2ff70..c4689923a 100644
--- a/ui.h
+++ b/ui.h
@@ -88,7 +88,9 @@ class RecoveryUI {
virtual void Print(const char* fmt, ...) __printflike(2, 3) = 0;
virtual void PrintOnScreenOnly(const char* fmt, ...) __printflike(2, 3) = 0;
- virtual void ShowFile(const char* filename) = 0;
+ // Shows the contents of the given file. Caller ensures the patition that contains the file has
+ // been mounted.
+ virtual void ShowFile(const std::string& filename) = 0;
// --- key handling ---