From c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 5 Apr 2019 21:47:24 +0200 Subject: device/trezor: add button pressed request --- src/wallet/api/wallet.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/wallet/api/wallet.cpp') diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 2a972cf78..032b873d6 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -249,6 +249,13 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback } } + virtual void on_device_button_pressed() + { + if (m_listener) { + m_listener->onDeviceButtonPressed(); + } + } + virtual boost::optional on_device_pin_request() { if (m_listener) { -- cgit v1.2.3