diff options
author | Tom Marshall <tdm@cyngn.com> | 2014-03-27 09:18:00 -0700 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2015-11-25 15:35:22 -0800 |
commit | 8e614b89838dda1adff952c0bfbb02721bb5db2b (patch) | |
tree | 1424980ad0021219328b3779eee9bae9380d9bc6 /verifier_test.cpp | |
parent | a48fd33655b2d95c250f033eaf88999cfb66e8ea (diff) | |
download | bootable_recovery-8e614b89838dda1adff952c0bfbb02721bb5db2b.zip bootable_recovery-8e614b89838dda1adff952c0bfbb02721bb5db2b.tar.gz bootable_recovery-8e614b89838dda1adff952c0bfbb02721bb5db2b.tar.bz2 |
sr: Touch UI
Change-Id: I4ee87f3474aec0496c47bb561ddecc74e151cbbf
Diffstat (limited to 'verifier_test.cpp')
-rw-r--r-- | verifier_test.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/verifier_test.cpp b/verifier_test.cpp index ed3dce1..d97e115 100644 --- a/verifier_test.cpp +++ b/verifier_test.cpp @@ -148,17 +148,22 @@ class FakeUI : public RecoveryUI { va_end(ap); } void ShowFile(const char*) { } + void ClearText() {} virtual void DialogShowInfo(const char* text) {} virtual void DialogShowError(const char* text) {} + virtual void DialogShowErrorLog(const char* text) {} virtual int DialogShowing() const { return 0; } bool DialogDismissable() const { return false; } virtual void DialogDismiss() {} void StartMenu(const char* const * headers, const char* const * items, int initial_selection) { } - int SelectMenu(int sel) { return 0; } + int SelectMenu(int sel, bool abs = false) { return 0; } void EndMenu() { } + + virtual int MenuItemStart() const { return 0; } + virtual int MenuItemHeight() const { return 0; } }; void |