aboutsummaryrefslogtreecommitdiff
path: root/src/qt/createwalletdialog.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2021-06-16 14:49:09 -0400
committerRussell Yanofsky <russ@yanofsky.org>2021-10-05 11:10:47 -0400
commita032fa30d282fa69c304e0afd1f95f67c55d22e3 (patch)
treec4aea56786decc54ff8474a67c604530097d8b96 /src/qt/createwalletdialog.h
parent113b863f0773999497f952daa6539a03a66a9de3 (diff)
multiprocess: add interfaces::ExternalSigner class
Add interfaces::ExternalSigner to let signer objects be passed between processes and signer code to run in the original process, without multiple processes linking and running signer code.
Diffstat (limited to 'src/qt/createwalletdialog.h')
-rw-r--r--src/qt/createwalletdialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/createwalletdialog.h b/src/qt/createwalletdialog.h
index fc13cc44eb..63a5e012d8 100644
--- a/src/qt/createwalletdialog.h
+++ b/src/qt/createwalletdialog.h
@@ -7,7 +7,12 @@
#include <QDialog>
+#include <memory>
+
+namespace interfaces {
class ExternalSigner;
+} // namespace interfaces
+
class WalletModel;
namespace Ui {
@@ -24,7 +29,7 @@ public:
explicit CreateWalletDialog(QWidget* parent);
virtual ~CreateWalletDialog();
- void setSigners(const std::vector<ExternalSigner>& signers);
+ void setSigners(const std::vector<std::unique_ptr<interfaces::ExternalSigner>>& signers);
QString walletName() const;
bool isEncryptWalletChecked() const;