summaryrefslogtreecommitdiff
path: root/pluginmanager.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-02-09 20:39:28 -0500
committerPeter LaFosse <peter@vector35.com>2021-03-02 07:50:56 -0500
commit1eafe9eeb83962071ecffaebb0bc98dc79f2f5c6 (patch)
treef242857ceffdf76576bb87745cf096ffefc71b93 /pluginmanager.cpp
parentc07fe0fea819f681621ff60e336f079494f6bfef (diff)
Add ability to install python dependencies
Refactor plugin repo loading into scripting provider. Find python binary for given python library
Diffstat (limited to 'pluginmanager.cpp')
-rw-r--r--pluginmanager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/pluginmanager.cpp b/pluginmanager.cpp
index 8f57f2f8..049555be 100644
--- a/pluginmanager.cpp
+++ b/pluginmanager.cpp
@@ -20,6 +20,11 @@ string RepoPlugin::GetPath() const
RETURN_STRING(BNPluginGetPath(m_object));
}
+string RepoPlugin::GetDependencies() const
+{
+ RETURN_STRING(BNPluginGetDependencies(m_object));
+}
+
bool RepoPlugin::IsInstalled() const
{
return BNPluginIsInstalled(m_object);
@@ -214,6 +219,12 @@ bool RepoPlugin::Install()
}
+bool RepoPlugin::InstallDependencies()
+{
+ return BNPluginInstallDependencies(m_object);
+}
+
+
bool RepoPlugin::Enable(bool force)
{
return BNPluginEnable(m_object, force);