Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletcontroller.h
Show All 36 Lines | class WalletController : public QObject { | ||||
void removeAndDeleteWallet(WalletModel *wallet_model); | void removeAndDeleteWallet(WalletModel *wallet_model); | ||||
public: | public: | ||||
WalletController(interfaces::Node &node, | WalletController(interfaces::Node &node, | ||||
const PlatformStyle *platform_style, | const PlatformStyle *platform_style, | ||||
OptionsModel *options_model, QObject *parent); | OptionsModel *options_model, QObject *parent); | ||||
~WalletController(); | ~WalletController(); | ||||
std::vector<WalletModel *> getWallets() const; | //! Returns wallet models currently open. | ||||
std::vector<WalletModel *> getOpenWallets() const; | |||||
//! Returns all wallet names in the wallet dir mapped to whether the wallet | //! Returns all wallet names in the wallet dir mapped to whether the wallet | ||||
//! is loaded. | //! is loaded. | ||||
std::map<std::string, bool> listWalletDir() const; | std::map<std::string, bool> listWalletDir() const; | ||||
OpenWalletActivity *openWallet(const CChainParams ¶ms, | OpenWalletActivity *openWallet(const CChainParams ¶ms, | ||||
const std::string &name, | const std::string &name, | ||||
QWidget *parent = nullptr); | QWidget *parent = nullptr); | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |