From 32a0a47a596509792fde8cdbf8b4b0705708b2be Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 1 Nov 2011 11:00:20 -0700 Subject: move key processing to RecoveryUI Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so it can be used by devices without screens. Remove the UIParameters struct and replace it with some new member variables in ScreenRecoveryUI. Change-Id: I70094ecbc4acbf76ce44d5b5ec2036c36bdc3414 --- verifier_test.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'verifier_test.cpp') diff --git a/verifier_test.cpp b/verifier_test.cpp index 2448d8d58..fe5519d79 100644 --- a/verifier_test.cpp +++ b/verifier_test.cpp @@ -84,11 +84,6 @@ class FakeUI : public RecoveryUI { fputs(buf, stderr); } - int WaitKey() { return 0; } - bool IsKeyPressed(int key) { return false; } - void FlushKeys() { } - KeyAction CheckKey(int key) { return ENQUEUE; } - void StartMenu(const char* const * headers, const char* const * items, int initial_selection) { } int SelectMenu(int sel) { return 0; } -- cgit v1.2.3