aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-15 09:12:19 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-15 09:12:20 +0200
commit37aea526a9b980ef0cb47403a7a587390baa248f (patch)
tree34ef86d6da9707f3324a8166d34edfeb605a146c /src/device
parentMerge pull request #5423 (diff)
parentdevice/trezor: add button pressed request (diff)
downloadmonero-37aea526a9b980ef0cb47403a7a587390baa248f.tar.xz
Merge pull request #5355
c68fe787 device/trezor: add button pressed request (Dusan Klinec) 827f52ad wallet: API changes to enable passphrase entry (Dusan Klinec)
Diffstat (limited to 'src/device')
-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) {}