Bitcoin
walletinitinterface.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2018 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_WALLETINITINTERFACE_H
6 #define BITCOIN_WALLETINITINTERFACE_H
7 
8 #include <string>
9 
10 class CScheduler;
11 class CRPCTable;
12 struct InitInterfaces;
13 
15 public:
17  virtual bool HasWalletSupport() const = 0;
19  virtual void AddWalletOptions() const = 0;
21  virtual bool ParameterInteraction() const = 0;
23  virtual void Construct(InitInterfaces& interfaces) const = 0;
24 
25  virtual ~WalletInitInterface() {}
26 };
27 
29 
30 #endif // BITCOIN_WALLETINITINTERFACE_H
Definition: scheduler.h:37
virtual void Construct(InitInterfaces &interfaces) const =0
virtual void AddWalletOptions() const =0
Definition: dummywallet.cpp:11
Definition: server.h:121
virtual ~WalletInitInterface()
Definition: walletinitinterface.h:25
virtual bool ParameterInteraction() const =0
const WalletInitInterface & g_wallet_init_interface
Definition: dummywallet.cpp:55
virtual bool HasWalletSupport() const =0
Pointers to interfaces used during init and destroyed on shutdown.
Definition: init.h:19
Definition: walletinitinterface.h:14