loadPlugins(plugInType,
fileList,
debugInspection=None,
showProgress=None)
Traverse the given list of files and attempt to load plugins from
them.
-
- Parameters:
plugInType -
The type of plugin to search for. This is tested against the
type argument to the register function
in the plugin.tml files.
(type=str )
fileList -
A list of the files to attempt to load plugin information from. One
name is put in their scope, the register
function.
(type=list of str )
debugInspection -
If not None, this is invoked with strings containing debug information
about the loading process. If it is any other true value, this
debug information is written to stdout (This behavior is
deprecated).
(type=None or a callable taking one argument)
showProgress -
If not None, this is invoked with floating point values between 0 and
1 describing the progress of the loading process. If it is any
other true value, this progress information is written to stdout.
(This behavior is deprecated).
(type=None or a callable taking one argument.)
- Returns:
-
A list of the
PlugIn objects found.
(type=list )
|