summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-12-03 00:30:51 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-03 00:30:51 +0100
commita766c34f86ddecbdc61634eb582a2ebce8253dc5 (patch)
tree62944cf1db7b74fbd93a065e402367cc87ea9ac1 /ui.h
parentMerge "Fix rare crash seen when dereferencing backgroundIcon[NONE]." (diff)
parentam c87bab10: add the functions for multi-stage packages to updater (diff)
downloadandroid_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.gz
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.bz2
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.lz
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.xz
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.zst
android_bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 8cc1da1ba..faa0acd46 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) { }