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