oops - missing file
[unfold.git] / engine / composite.py
diff --git a/engine/composite.py b/engine/composite.py
new file mode 100644 (file)
index 0000000..5799eee
--- /dev/null
@@ -0,0 +1,12 @@
+from engine.plugin import Plugin
+from engine.requirements import Requirements
+
+class Composite (Plugin):
+
+    def __init__ (self, sons=[], *args, **kwds):
+        self.sons=sons
+        Plugin.__init__ (self, *args, **kwds)
+        
+    def insert (self, plugin):
+        self.sons.append(plugin)
+