gui: Add openWallet and getWalletsAvailableToOpen to WalletController

This commit is contained in:
João Barbosa
2019-01-12 11:34:05 +00:00
parent ab288b4e59
commit 32a8c6abfe
2 changed files with 28 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ public:
~WalletController();
std::vector<WalletModel*> getWallets() const;
std::vector<std::string> getWalletsAvailableToOpen() const;
WalletModel* openWallet(const std::string& name, QWidget* parent = nullptr);
private Q_SLOTS:
void addWallet(WalletModel* wallet_model);