Introspect/Struct.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 13:39:10 +0000 (21:39 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 13:39:10 +0000 (21:39 +0800)
Introspect/Struct.js [deleted file]

diff --git a/Introspect/Struct.js b/Introspect/Struct.js
deleted file mode 100644 (file)
index a3a72dc..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-//<script type="text/javascript">
-
-GI      = imports.gi.GIRepository;
-
-
-
-XObject     = imports.XObject.XObject;
-console     = imports.console.console;
-NameSpace   = imports.NameSpace.NameSpace;
-
-Base        = imports.Base.Base;
-
-/**
- * Struct
- */
-
-Struct = XObject.define(
-    function(ns, name) {
-        Base.call(this, ns, name);
-       
-    },
-
-    Base, 
-    {
-        titleType: 'Struct',
-        
-        _loaded : false,
-        load : function()
-        {
-            if (this._loaded) {
-                return; // already loaded..
-            }
-            // my props..
-            var props = [];
-            this.genericBuildList('struct', 'field', props, 'properties');
-            
-            var methods = [];
-            
-            
-            if (GI.struct_info_get_size (this.getBI()) > 0 ) {
-               
-            
-                
-                this.constructors.push({
-                    name : '',
-                    params: [],
-                    returns :  [],
-                    isConstructor : true,
-                    isStatic : false,
-                    memberOf : this.alias,
-                    exceptions : [],
-                    desc : ''
-                });
-            }
-            
-            this.genericBuildList('struct', 'method', methods, 'methods');
-              
-            this._loaded  = true;
-        },
-         
-
-});
\ No newline at end of file