//<script type="text/javascript">
//Gtk = imports.gi.Gtk;
-GI = imports.gi.GIRepository;
-GLib = imports.gi.GLib;
-xml = imports.libxml;
-//GObject = imports.gi.GObject;
+
+
+imports['Object.js'].load(Object);
console = imports['console.js'].console;
JSDOC = imports['JSDOC.js'].JSDOC;
-Roo = imports['Roo.js'].Roo;
+
Introspect = imports['JSDOC/Introspect.js'].Introspect;
Base = imports['JSDOC/Introspect/Base.js'].Base;
* Interface
*/
-Interface = function(ns, name) {
- Base.call(this, ns, name);
-
-}
+Interface = Object.define(
+ function(ns, name) {
+ Base.call(this, ns, name);
+
+ },
-Roo.extend(Interface, Base, {
- titleType: 'Interface',
- _loaded : false,
- load : function()
+ Base,
{
- if (this._loaded) {
- return; // already loaded..
- }
- // my props..
- var props = [];
- this.genericBuildList('interface', 'property', props, 'properties');
-
-
- var signals = [];
- this.genericBuildList('interface', 'signal', signals, 'signals');
-
-
- var methods = [];
- this.genericBuildList('interface', 'method', methods, 'methods');
-
-
- Introspect.ifaceList[this.alias] = Introspect.ifaceList[this.alias] || [];
- this.implementedBy = Introspect.ifaceList[this.alias];
-
+ titleType: 'Interface',
+ _loaded : false,
+ load : function()
+ {
+ if (this._loaded) {
+ return; // already loaded..
+ }
+ // my props..
+ var props = [];
+ this.genericBuildList('interface', 'property', props, 'properties');
+
+
+ var signals = [];
+ this.genericBuildList('interface', 'signal', signals, 'signals');
-
- this._loaded = true;
- },
-
+
+ var methods = [];
+ this.genericBuildList('interface', 'method', methods, 'methods');
+
+
+ Introspect.ifaceList[this.alias] = Introspect.ifaceList[this.alias] || [];
+ this.implementedBy = Introspect.ifaceList[this.alias];
+
+
+
+ this._loaded = true;
+ },
+
});