From ffc8a8702d9e1568995ce155c648fd029909cdac Mon Sep 17 00:00:00 2001 From: Tom Marshall Date: Thu, 5 Nov 2015 21:30:40 -0800 Subject: recovery: Provide sideload cancellation Change-Id: I13f0c9ae5444652a2141442ef24258679a78d320 --- ui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 48eeda8..ecf221b 100644 --- a/ui.h +++ b/ui.h @@ -76,6 +76,9 @@ class RecoveryUI { // Wait for a key and return it. May return -1 after timeout. virtual int WaitKey(); + // Cancel a WaitKey() + virtual void CancelWaitKey(); + virtual bool IsKeyPressed(int key); virtual bool IsLongPress(); -- cgit v1.1