diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-22 15:51:42 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-22 15:51:42 +0200 |
commit | f50704ec01e8c1848fa8fc8cf3991a116852490e (patch) | |
tree | 62e4aab945483f6285c7b117a5bf4b1c52b43472 /src/wallet/wallet2_api.h | |
parent | Merge pull request #1774 (diff) | |
parent | updates: fix user/auto url split (diff) | |
download | monero-f50704ec01e8c1848fa8fc8cf3991a116852490e.tar.xz |
Merge pull request #1750
ada0e23a updates: fix user/auto url split (moneromooo-monero)
14d0e002 wallet2_api: add updates check api (moneromooo-monero)
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); }; |