summaryrefslogtreecommitdiffstats
path: root/stub_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-13 21:46:38 +0200
committerTao Bao <tbao@google.com>2017-10-12 01:56:12 +0200
commit99f0d9e52bdbe314d77300f883d66e4470d4a5ee (patch)
tree1f2d542a9d43d56366dd20dedd607c678adb7bc7 /stub_ui.h
parentMerge "applypatch: Use shared libs for libbase/libcrypto/liblog/libziparchive." (diff)
downloadandroid_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar.gz
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar.bz2
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar.lz
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar.xz
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.tar.zst
android_bootable_recovery-99f0d9e52bdbe314d77300f883d66e4470d4a5ee.zip
Diffstat (limited to 'stub_ui.h')
-rw-r--r--stub_ui.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/stub_ui.h b/stub_ui.h
index 85dbcfd89..1f6b29acb 100644
--- a/stub_ui.h
+++ b/stub_ui.h
@@ -24,18 +24,18 @@ class StubRecoveryUI : public RecoveryUI {
public:
StubRecoveryUI() = default;
- void SetBackground(Icon icon) override {}
- void SetSystemUpdateText(bool security_update) override {}
+ void SetBackground(Icon /* icon */) override {}
+ void SetSystemUpdateText(bool /* security_update */) override {}
// progress indicator
- void SetProgressType(ProgressType type) override {}
- void ShowProgress(float portion, float seconds) override {}
- void SetProgress(float fraction) override {}
+ void SetProgressType(ProgressType /* type */) override {}
+ void ShowProgress(float /* portion */, float /* seconds */) override {}
+ void SetProgress(float /* fraction */) override {}
- void SetStage(int current, int max) override {}
+ void SetStage(int /* current */, int /* max */) override {}
// text log
- void ShowText(bool visible) override {}
+ void ShowText(bool /* visible */) override {}
bool IsTextVisible() override {
return false;
}
@@ -50,12 +50,12 @@ class StubRecoveryUI : public RecoveryUI {
vprintf(fmt, ap);
va_end(ap);
}
- void PrintOnScreenOnly(const char* fmt, ...) override {}
- void ShowFile(const char* filename) override {}
+ void PrintOnScreenOnly(const char* /* fmt */, ...) override {}
+ void ShowFile(const char* /* filename */) override {}
// menu display
- void StartMenu(const char* const* headers, const char* const* items,
- int initial_selection) override {}
+ void StartMenu(const char* const* /* headers */, const char* const* /* items */,
+ int /* initial_selection */) override {}
int SelectMenu(int sel) override {
return sel;
}