summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 23:41:24 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-02 23:41:24 +0200
commit30f2775b373f0beab29cbc5c5d58f971b8b9bce3 (patch)
treea687cef952fe46ec15e4d9ea511a67c3bbb4fc5a /ui.h
parentMerge "Add ScreenRecoveryUI::ShowMenu()." (diff)
parentMerge "screen_ui: Drop the dependency on common.h." (diff)
downloadandroid_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar.gz
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar.bz2
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar.lz
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar.xz
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.tar.zst
android_bootable_recovery-30f2775b373f0beab29cbc5c5d58f971b8b9bce3.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 ---