|
@@ -26,6 +26,15 @@ LOADER_FILENAME_VARNAME = '__loader__'
|
26
|
26
|
class PluginError(Exception):
|
27
|
27
|
pass
|
28
|
28
|
|
|
29
|
+##@brief Handle plugins
|
|
30
|
+#
|
|
31
|
+# An instance represent a loaded plugin. Class methods allow to load/preload
|
|
32
|
+# plugins.
|
|
33
|
+#
|
|
34
|
+# Typicall Plugins load sequence is :
|
|
35
|
+# 1. Settings call start method to instanciate all plugins found in confs
|
|
36
|
+# 2. Settings fetch all confspecs
|
|
37
|
+# 3. the loader call load_all to register hooks etc
|
29
|
38
|
class Plugin(object):
|
30
|
39
|
|
31
|
40
|
##@brief Stores plugin directories paths
|