aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h5
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() {