summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-11-25 22:53:25 +0100
committerDoug Zongker <dougz@google.com>2013-11-27 00:46:57 +0100
commitc87bab101893e8322b49d7c8600e3367b20ab50a (patch)
tree7fb05cb6389b181776b4ae818e2c0883dd1a9a79 /ui.h
parentMerge "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add." into klp-dev (diff)
downloadandroid_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar.gz
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar.bz2
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar.lz
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar.xz
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.tar.zst
android_bootable_recovery-c87bab101893e8322b49d7c8600e3367b20ab50a.zip
Diffstat (limited to '')
-rw-r--r--ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 6c8987a33..0757260b7 100644
--- a/ui.h
+++ b/ui.h
@@ -30,6 +30,8 @@ class RecoveryUI {
// Initialize the object; called before anything else.
virtual void Init();
+ // Show a stage indicator. Call immediately after Init().
+ virtual void SetStage(int current, int max) { }
// After calling Init(), you can tell the UI what locale it is operating in.
virtual void SetLocale(const char* locale) { }