summaryrefslogtreecommitdiffstats
path: root/stub_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 /stub_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 '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 */,