Browse Source

Documentin Plugin + update pickle file example

Yann Weber 8 years ago
parent
commit
8204f97fc5
2 changed files with 9 additions and 0 deletions
  1. BIN
      examples/em_test.pickle
  2. 9
    0
      lodel/plugin/plugins.py

BIN
examples/em_test.pickle View File


+ 9
- 0
lodel/plugin/plugins.py View File

@@ -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

Loading…
Cancel
Save