From 9fabf9157240d57470f9eb38448a329e5a31ec30 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 27 Oct 2015 01:28:15 -0400 Subject: Implement update API (no UI yet) --- binaryninjaapi.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'binaryninjaapi.h') 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 GetList(); + + bool AreUpdatesAvailable(); + + BNUpdateResult UpdateToVersion(const std::string& version); + BNUpdateResult UpdateToVersion(const std::string& version, + const std::function& progress); + BNUpdateResult UpdateToLatestVersion(); + BNUpdateResult UpdateToLatestVersion(const std::function& progress); }; struct UpdateVersion -- cgit v1.3.1