diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-05 22:24:00 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-05-05 22:24:00 +0300 |
commit | 5dbd2b8fc3aa97f3a2e14a378cf6b7afd16bd4e2 (patch) | |
tree | e91043b539a140f4c89b6343606f1eed9790bd02 /src/wallet/api/wallet.h | |
parent | TransactionHistory continued (diff) | |
download | monero-5dbd2b8fc3aa97f3a2e14a378cf6b7afd16bd4e2.tar.xz |
started WalletListener
Diffstat (limited to '')
-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; }; |