summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-11 00:00:34 +0200
committerElliott Hughes <enh@google.com>2015-04-11 00:14:35 +0200
commit4af215b2c35b41e983753256ad6dbebbf879c982 (patch)
treef327758d07cdb58a8e4a06f236f82f8df9515992 /ui.h
parentMerge "Switch minadb over to C++." (diff)
downloadandroid_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.gz
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.bz2
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.lz
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.xz
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.tar.zst
android_bootable_recovery-4af215b2c35b41e983753256ad6dbebbf879c982.zip
Diffstat (limited to '')
-rw-r--r--ui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 0d5ab557d..c5c65c247 100644
--- a/ui.h
+++ b/ui.h
@@ -75,6 +75,10 @@ class RecoveryUI {
virtual bool IsKeyPressed(int key);
virtual bool IsLongPress();
+ // Returns true if you have the volume up/down and power trio typical
+ // of phones and tablets, false otherwise.
+ virtual bool HasThreeButtons();
+
// Erase any queued-up keys.
virtual void FlushKeys();