From cb87ea835ed3d4f01f91a9e67c2fc61cab18bd2c Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 15 Oct 2015 20:57:04 -0400 Subject: Add API to get list of valid channels and latest version for active license --- binaryninjaapi.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 2dc15f2c..04749e97 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1339,4 +1339,21 @@ namespace BinaryNinja virtual bool RecognizeLowLevelIL(BinaryView* data, Function* func, LowLevelILFunction* il); }; + + class UpdateException: public std::exception + { + const std::string m_desc; + public: + UpdateException(const std::string& desc): std::exception(), m_desc(desc) {} + virtual const char* what() const NOEXCEPT { return m_desc.c_str(); } + }; + + struct UpdateChannel + { + std::string name; + std::string description; + std::string latestVersion; + + static std::vector GetList(); + }; } -- cgit v1.3.1