diff options
author | dsc <dsc@xmr.pm> | 2020-09-19 18:29:46 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-04-22 04:31:36 +0200 |
commit | 22bb6a654da23e8aa56d26b25e4299c0ed5c43df (patch) | |
tree | 2a736784fadc2c1c8202c35a2ce68962f4d4027c /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #7655 (diff) | |
download | monero-22bb6a654da23e8aa56d26b25e4299c0ed5c43df.tar.xz |
Allow AddressBook description edits via wallet/api interface
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 999823ff1..e8efc58b8 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -250,6 +250,7 @@ struct AddressBook virtual std::vector<AddressBookRow*> getAll() const = 0; virtual bool addRow(const std::string &dst_addr , const std::string &payment_id, const std::string &description) = 0; virtual bool deleteRow(std::size_t rowId) = 0; + virtual bool setDescription(std::size_t index, const std::string &description) = 0; virtual void refresh() = 0; virtual std::string errorString() const = 0; virtual int errorCode() const = 0; |