2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00
koreader/frontend/apps
NiLuJe 9f835156d1
PluginLoader: Allow querying whether a specific plugin is loaded (#7607)
* PluginLoader: Allow querying whether a specific plugin is loaded (instantiated, actually).

Re #7598

* PluginLoader: Add a method to access a specific Plugin's instance
(Besides `self.ui[plugin_name]`, that is).

Requires some nastiness to avoid pinning stale references in memory :s.

* PluginLoader:  Tweak genPluginManagerSubItem to keep from rebuilding `self.all_plugins`, it's using `loadPlugins`, which is cached, so it made no sense to re-compute this one.
2021-04-29 19:30:18 +02:00
..
cloudstorage CloudStorage (FTP): Unbreak after #7597 2021-04-26 04:00:26 +02:00
filemanager PluginLoader: Allow querying whether a specific plugin is loaded (#7607) 2021-04-29 19:30:18 +02:00
reader PluginLoader: Allow querying whether a specific plugin is loaded (#7607) 2021-04-29 19:30:18 +02:00