diff options
author | Ivan Metlushko <metlushko@gmail.com> | 2020-07-19 14:31:51 +0700 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2020-07-29 16:36:44 +0700 |
commit | a316e9ce265212a7c6c4ef7922420f6ecba9e7b0 (patch) | |
tree | 1520d2825059fd44380bbf3f17605f4ca0dc4b04 /src/walletinitinterface.h | |
parent | 2f71a1ea35667b3873197201531e7ae198ec5bf4 (diff) | |
download | bitcoin-a316e9ce265212a7c6c4ef7922420f6ecba9e7b0.tar.xz |
refactor: add unused ArgsManager to replace gArgs
Diffstat (limited to 'src/walletinitinterface.h')
-rw-r--r-- | src/walletinitinterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h index f4730273f1..a55e02f2dc 100644 --- a/src/walletinitinterface.h +++ b/src/walletinitinterface.h @@ -5,6 +5,8 @@ #ifndef BITCOIN_WALLETINITINTERFACE_H #define BITCOIN_WALLETINITINTERFACE_H +class ArgsManager; + struct NodeContext; class WalletInitInterface { @@ -12,7 +14,7 @@ public: /** Is the wallet component enabled */ virtual bool HasWalletSupport() const = 0; /** Get wallet help string */ - virtual void AddWalletOptions() const = 0; + virtual void AddWalletOptions(ArgsManager& argsman) const = 0; /** Check wallet parameter interaction */ virtual bool ParameterInteraction() const = 0; /** Add wallets that should be opened to list of chain clients. */ |