diff options
Diffstat (limited to 'src/qt/walletframe.h')
-rw-r--r-- | src/qt/walletframe.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index d7092f9879..5011987963 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -8,11 +8,17 @@ #define WALLETFRAME_H #include <QFrame> +#include <QMap> class BitcoinGUI; class ClientModel; +class SendCoinsRecipient; class WalletModel; -class WalletStack; +class WalletView; + +QT_BEGIN_NAMESPACE +class QStackedWidget; +QT_END_NAMESPACE class WalletFrame : public QFrame { @@ -26,17 +32,20 @@ public: bool addWallet(const QString& name, WalletModel *walletModel); bool setCurrentWallet(const QString& name); - + bool removeWallet(const QString &name); void removeAllWallets(); - bool handleURI(const QString &uri); + bool handlePaymentRequest(const SendCoinsRecipient& recipient); void showOutOfSyncWarning(bool fShow); private: + QStackedWidget *walletStack; BitcoinGUI *gui; ClientModel *clientModel; - WalletStack *walletStack; + QMap<QString, WalletView*> mapWalletViews; + + bool bOutOfSync; public slots: /** Switch to overview (home) page */ @@ -71,4 +80,4 @@ public slots: void setEncryptionStatus(); }; -#endif // WALLETFRAME_H
\ No newline at end of file +#endif // WALLETFRAME_H |