diff options
author | Tao Bao <tbao@google.com> | 2018-05-02 23:41:24 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-02 23:41:24 +0200 |
commit | 30f2775b373f0beab29cbc5c5d58f971b8b9bce3 (patch) | |
tree | a687cef952fe46ec15e4d9ea511a67c3bbb4fc5a /ui.h | |
parent | Merge "Add ScreenRecoveryUI::ShowMenu()." (diff) | |
parent | Merge "screen_ui: Drop the dependency on common.h." (diff) | |
download | android_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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 --- |