Bläddra i källkod

Documentin Plugin + update pickle file example

Yann Weber 8 år sedan
förälder
incheckning
8204f97fc5
2 ändrade filer med 9 tillägg och 0 borttagningar
  1. Binär
      examples/em_test.pickle
  2. 9
    0
      lodel/plugin/plugins.py

Binär
examples/em_test.pickle Visa fil


+ 9
- 0
lodel/plugin/plugins.py Visa fil

@@ -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…
Avbryt
Spara