aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-02 00:31:43 +0000
committerxiphon <xiphon@protonmail.com>2020-04-02 00:31:43 +0000
commit09abca76ae3ed218daccbb8bbed8e5db1966b42f (patch)
tree8d20e8434dc6b1c5389088500ae492f915d053dc /src/wallet/api/wallet2_api.h
parentMerge pull request #6336 (diff)
downloadmonero-09abca76ae3ed218daccbb8bbed8e5db1966b42f.tar.xz
wallet_api: checkUpdate - optional version and buildtag params
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 3945e55c9..c0bae5cfd 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -1291,7 +1291,11 @@ struct WalletManager
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, std::string subdir);
+ static std::tuple<bool, std::string, std::string, std::string, std::string> checkUpdates(
+ const std::string &software,
+ std::string subdir,
+ const char *buildtag = nullptr,
+ const char *current_version = nullptr);
};