summaryrefslogtreecommitdiffstats
path: root/stub_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 /stub_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 'stub_ui.h')
-rw-r--r--stub_ui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/stub_ui.h b/stub_ui.h
index 3c36fcfb1..362aab443 100644
--- a/stub_ui.h
+++ b/stub_ui.h
@@ -17,6 +17,9 @@
#ifndef RECOVERY_STUB_UI_H
#define RECOVERY_STUB_UI_H
+#include <functional>
+#include <string>
+
#include "ui.h"
// Stub implementation of RecoveryUI for devices without screen.
@@ -51,7 +54,7 @@ class StubRecoveryUI : public RecoveryUI {
va_end(ap);
}
void PrintOnScreenOnly(const char* /* fmt */, ...) override {}
- void ShowFile(const char* /* filename */) override {}
+ void ShowFile(const std::string& /* filename */) override {}
// menu display
int ShowMenu(const char* const* /* headers */, const char* const* /* items */,