Closed GoogleCodeExporter closed 9 years ago
I added a "findPluginByName" to the edb::v1 namespace. This will allow a plugin
which knows the interface (via a header) of another plugin to request a pointer
that plugin. It will return NULL if the plugin was not found. Since there is no
guarantee in the load ordering, you should wait till at least the plugin's menu
method is called to ensure all plugins have been loaded.
Eventually I will try to add an "event" to the plugin interface which will
allow the plugins to know all others have been loaded. And hopefully at some
point there will be some sort of dependency tree system where plugins can say
they cannot operate without another's help.
At this point robustness when lacking a dependancy is entirely in the hands of
the plugin itself...but it's a start.
Original comment by evan.teran
on 3 Oct 2012 at 3:43
Original issue reported on code.google.com by
evan.teran
on 3 Oct 2012 at 3:20