summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 21:23:25 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-03 21:23:25 +0200
commit9343488cd7b924087c93ba0ddd5dcd1c29810608 (patch)
tree453a397c8efa9f42307fd4fd5f681466d7fc20ed /ui.h
parentam 2c51ec95: am 02b64725: Merge "uncrypt: Write status when it reboots to factory reset" into mnc-dev (diff)
parentam d107e6dc: am a69e608a: Merge "Log update outputs in order" (diff)
downloadandroid_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar.gz
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar.bz2
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar.lz
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar.xz
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.tar.zst
android_bootable_recovery-9343488cd7b924087c93ba0ddd5dcd1c29810608.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 4dcaa0f8d..ca72911db 100644
--- a/ui.h
+++ b/ui.h
@@ -62,8 +62,10 @@ class RecoveryUI {
virtual bool WasTextEverVisible() = 0;
// Write a message to the on-screen log (shown if the user has
- // toggled on the text display).
+ // toggled on the text display). Print() will also dump the message
+ // to stdout / log file, while PrintOnScreenOnly() not.
virtual void Print(const char* fmt, ...) __printflike(2, 3) = 0;
+ virtual void PrintOnScreenOnly(const char* fmt, ...) __printflike(2, 3) = 0;
virtual void ShowFile(const char* filename) = 0;