diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-05 22:24:00 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-06-23 16:01:33 +0300 |
commit | 374577018d9e32a6f50e9fb23deb27b98da8ae67 (patch) | |
tree | f6aabb2c352562bcb0c8d6601fcaf583ec7a9ebe /src/wallet/api/wallet.h | |
parent | TransactionHistory continued (diff) | |
download | monero-374577018d9e32a6f50e9fb23deb27b98da8ae67.tar.xz |
started WalletListener
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 3671c2f7a..c0fa31003 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -40,6 +40,7 @@ namespace Bitmonero { class TransactionHistoryImpl; class PendingTransactionImpl; +struct Wallet2CallbackImpl; class WalletImpl : public Wallet { @@ -70,6 +71,7 @@ public: PendingTransaction * createTransaction(const std::string &dst_addr, uint64_t amount); virtual void disposeTransaction(PendingTransaction * t); virtual TransactionHistory * history() const; + virtual void setListener(WalletListener * l); private: void clearStatus(); @@ -84,6 +86,8 @@ private: std::string m_password; TransactionHistoryImpl * m_history; bool m_trustedDaemon; + WalletListener * m_walletListener; + Wallet2CallbackImpl * m_wallet2Callback; }; |