summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h3
1 files changed, 3 insertions, 0 deletions
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();