Esempio n. 1
0
    def enable(self, force=False):
        """
		Enable this plugin, optionally trying to force it. \
		Force loading a plugin with ignore platform and api constraints. \
		 (e.g. The plugin author says the plugin will only work on Linux-python3 but you'd like to \
		 attempt to load it on Macos-python2)
		"""
        return core.BNPluginEnable(self.handle, force)
Esempio n. 2
0
 def enabled(self, state):
     if state:
         return core.BNPluginEnable(self.handle)
     else:
         return core.BNPluginDisable(self.handle)