summaryrefslogtreecommitdiff
path: root/python/pluginmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/pluginmanager.py')
-rw-r--r--python/pluginmanager.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/pluginmanager.py b/python/pluginmanager.py
index ea3440f3..a164c4f6 100644
--- a/python/pluginmanager.py
+++ b/python/pluginmanager.py
@@ -50,6 +50,11 @@ class RepoPlugin(object):
return core.BNPluginGetPath(self.handle)
@property
+ def dependencies(self):
+ """Dependencies required for installing this plugin"""
+ return core.BNPluginGetDependencies(self.handle)
+
+ @property
def installed(self):
"""Boolean True if the plugin is installed, False otherwise"""
return core.BNPluginIsInstalled(self.handle)
@@ -61,6 +66,9 @@ class RepoPlugin(object):
else:
return core.BNPluginUninstall(self.handle)
+ def install_dependencies(self):
+ return core.BNPluginInstallDependencies(self.handle)
+
@property
def enabled(self):
"""Boolean True if the plugin is currently enabled, False otherwise"""