summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 18:28:46 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-03 18:28:46 +0200
commitd107e6dc104dfb6e5043cedaf348f354f7cd46cc (patch)
treea94ee0f95bb444b33f5e18e6e393f053e4e6f5b3 /ui.h
parentam 1441a965: Merge "Really don\'t use TEMP_FAILURE_RETRY with close in recovery." (diff)
parentMerge "Log update outputs in order" (diff)
downloadandroid_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.gz
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.bz2
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.lz
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.xz
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.tar.zst
android_bootable_recovery-d107e6dc104dfb6e5043cedaf348f354f7cd46cc.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;