diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-10-27 01:28:15 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-10-27 01:28:39 -0400 |
| commit | 9fabf9157240d57470f9eb38448a329e5a31ec30 (patch) | |
| tree | 20d3f5c41dfa973280eb6696e2e1f39064939bb8 /binaryninjaapi.h | |
| parent | 21f0f2d62247bcc45c07af0a363c7e39208f4110 (diff) | |
Implement update API (no UI yet)
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 27e2c565..46d675f2 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1355,6 +1355,14 @@ namespace BinaryNinja std::string latestVersion; static std::vector<UpdateChannel> GetList(); + + bool AreUpdatesAvailable(); + + BNUpdateResult UpdateToVersion(const std::string& version); + BNUpdateResult UpdateToVersion(const std::string& version, + const std::function<void(uint64_t progress, uint64_t total)>& progress); + BNUpdateResult UpdateToLatestVersion(); + BNUpdateResult UpdateToLatestVersion(const std::function<void(uint64_t progress, uint64_t total)>& progress); }; struct UpdateVersion |
