Introspect/Class.js
[gnome.introspection-doc-generator] / Introspect / Class.js
index 515e7fe..8ded94a 100644 (file)
@@ -58,7 +58,17 @@ Class = XObject.define(
             
             
             
+            
         },
+        
+        addChildClass : function (n) {
+            this.childClasses.push(n);
+            if (this.parent) {
+                this.parent.addChildClass(n);
+            }
+        }
+        
+        
         loadImplements : function()
         {
             var bb = this.getBI();