aboutsummaryrefslogtreecommitdiff
path: root/src/device/device.hpp
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-04-05 21:47:24 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2019-04-07 13:35:49 +0200
commitc68fe7873bec21d6163b10d9e8f7c8d4d53f5a23 (patch)
tree9e9fd9e3af7e67e764a3d6bd1df5ad833b582a45 /src/device/device.hpp
parentwallet: API changes to enable passphrase entry (diff)
downloadmonero-c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23.tar.xz
device/trezor: add button pressed request
Diffstat (limited to '')
-rw-r--r--src/device/device.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/device.hpp b/src/device/device.hpp
index 2e485b1d6..866e2c676 100644
--- a/src/device/device.hpp
+++ b/src/device/device.hpp
@@ -76,6 +76,7 @@ namespace hw {
class i_device_callback {
public:
virtual void on_button_request(uint64_t code=0) {}
+ virtual void on_button_pressed() {}
virtual boost::optional<epee::wipeable_string> on_pin_request() { return boost::none; }
virtual boost::optional<epee::wipeable_string> on_passphrase_request(bool on_device) { return boost::none; }
virtual void on_progress(const device_progress& event) {}