aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-12-02 23:30:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-02 23:30:51 +0000
commita766c34f86ddecbdc61634eb582a2ebce8253dc5 (patch)
tree62944cf1db7b74fbd93a065e402367cc87ea9ac1 /ui.h
parent9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc (diff)
parentd327c63af691a36fbf53866a3ae7ad27a43ebe3b (diff)
downloadbootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.zip
bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.gz
bootable_recovery-a766c34f86ddecbdc61634eb582a2ebce8253dc5.tar.bz2
am d327c63a: am c87bab10: add the functions for multi-stage packages to updater
* commit 'd327c63af691a36fbf53866a3ae7ad27a43ebe3b': add the functions for multi-stage packages to updater
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 8cc1da1..faa0acd 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) { }