diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-05 21:47:24 +0200 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-07 13:35:49 +0200 |
commit | c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23 (patch) | |
tree | 9e9fd9e3af7e67e764a3d6bd1df5ad833b582a45 /src/wallet/api/wallet2_api.h | |
parent | wallet: API changes to enable passphrase entry (diff) | |
download | monero-c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23.tar.xz |
device/trezor: add button pressed request
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 377330401..0af3b1867 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -386,6 +386,11 @@ struct WalletListener virtual void onDeviceButtonRequest(uint64_t code) { (void)code; } /** + * @brief called by device if the button was pressed + */ + virtual void onDeviceButtonPressed() { } + + /** * @brief called by device when PIN is needed */ virtual optional<std::string> onDevicePinRequest() { |