diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-19 10:35:15 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-22 13:03:45 +0000 |
commit | 14d0e00235f73e6345d97bda9ac88a8c6ccec653 (patch) | |
tree | f615d4852333641f3839af64deb0101c3748f8e0 /src/wallet/wallet2_api.h | |
parent | Merge pull request #1774 (diff) | |
download | monero-14d0e00235f73e6345d97bda9ac88a8c6ccec653.tar.xz |
wallet2_api: add updates check api
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 3a819444a..eec4f8b8f 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -703,6 +703,9 @@ struct WalletManager //! resolves an OpenAlias address to a monero address virtual std::string resolveOpenAlias(const std::string &address, bool &dnssec_valid) const = 0; + + //! checks for an update and returns version, hash and url + static std::tuple<bool, std::string, std::string, std::string, std::string> checkUpdates(const std::string &software, const std::string &subdir); }; |