diff options
author | Tao Bao <tbao@google.com> | 2017-10-12 05:38:00 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-12 05:38:00 +0200 |
commit | 07ba5b7813f4491cdeb2c4952fcfee051e464e60 (patch) | |
tree | 76ae31e5d3ca1599a73c40aee820c54ab51b8cb9 /stub_ui.h | |
parent | Merge "Add missing includes." am: 3c4e270123 am: b23cfd43da am: 57caa90f74 (diff) | |
parent | Merge "Drop -Wno-unused-parameter." am: a0e9742796 am: 6cadc73dea (diff) | |
download | android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar.gz android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar.bz2 android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar.lz android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar.xz android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.tar.zst android_bootable_recovery-07ba5b7813f4491cdeb2c4952fcfee051e464e60.zip |
Diffstat (limited to 'stub_ui.h')
-rw-r--r-- | stub_ui.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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; } |