summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index ad557146..08c6e555 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -18425,10 +18425,10 @@ namespace BinaryNinja {
/*!
\ingroup pluginmanager
*/
- class RepoPlugin : public CoreRefCountObject<BNRepoPlugin, BNNewPluginReference, BNFreePlugin>
+ class RepoPlugin : public CoreRefCountObject<BNPlugin, BNNewPluginReference, BNFreePlugin>
{
public:
- RepoPlugin(BNRepoPlugin* plugin);
+ RepoPlugin(BNPlugin* plugin);
PluginStatus GetPluginStatus() const;
std::vector<std::string> GetApis() const;
std::vector<std::string> GetInstallPlatforms() const;
@@ -18493,17 +18493,13 @@ namespace BinaryNinja {
/*!
\ingroup pluginmanager
*/
- class RepositoryManager :
- public CoreRefCountObject<BNRepositoryManager, BNNewRepositoryManagerReference, BNFreeRepositoryManager>
+ class RepositoryManager
{
public:
- RepositoryManager(const std::string& enabledPluginsPath);
- RepositoryManager(BNRepositoryManager* repoManager);
- RepositoryManager();
- bool CheckForUpdates();
- std::vector<Ref<Repository>> GetRepositories();
- Ref<Repository> GetRepositoryByPath(const std::string& repoName);
- bool AddRepository(const std::string& url, // URL to raw plugins.json file
+ static bool CheckForUpdates();
+ static std::vector<Ref<Repository>> GetRepositories();
+ static Ref<Repository> GetRepositoryByPath(const std::string& repoName);
+ static bool AddRepository(const std::string& url, // URL to raw plugins.json file
const std::string& repoPath); // Relative path within the repositories directory
Ref<Repository> GetDefaultRepository();
};