aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2016-12-12 00:42:46 +0100
committerJaquee <jaquee.monero@gmail.com>2016-12-12 00:43:02 +0100
commit5df92877c7c97ad24c4f61e38bc82beb875a7b42 (patch)
tree57d112b1cb05e3bd48bfd7154c91545c9f497287 /src/wallet/api/wallet.h
parentMerge pull request #1422 (diff)
downloadmonero-5df92877c7c97ad24c4f61e38bc82beb875a7b42.tar.xz
GUI address book
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index 5e4a64ff8..6fbb0da90 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -43,6 +43,7 @@
namespace Bitmonero {
class TransactionHistoryImpl;
class PendingTransactionImpl;
+class AddressBookImpl;
struct Wallet2CallbackImpl;
class WalletImpl : public Wallet
@@ -97,13 +98,13 @@ public:
virtual void disposeTransaction(PendingTransaction * t);
virtual TransactionHistory * history() const;
+ virtual AddressBook * addressBook() const;
virtual void setListener(WalletListener * l);
virtual uint32_t defaultMixin() const;
virtual void setDefaultMixin(uint32_t arg);
virtual bool setUserNote(const std::string &txid, const std::string &note);
virtual std::string getUserNote(const std::string &txid) const;
virtual std::string getTxKey(const std::string &txid) const;
-
virtual std::string signMessage(const std::string &message);
virtual bool verifySignedMessage(const std::string &message, const std::string &address, const std::string &signature) const;
@@ -121,6 +122,7 @@ private:
friend class PendingTransactionImpl;
friend class TransactionHistoryImpl;
friend class Wallet2CallbackImpl;
+ friend class AddressBookImpl;
tools::wallet2 * m_wallet;
mutable std::atomic<int> m_status;
@@ -130,6 +132,7 @@ private:
bool m_trustedDaemon;
WalletListener * m_walletListener;
Wallet2CallbackImpl * m_wallet2Callback;
+ AddressBookImpl * m_addressBook;
// multi-threaded refresh stuff
std::atomic<bool> m_refreshEnabled;