*/
namespace Palete {
- public abstract class GirBase : GirObject {
-
- public abstract void load();
-
- public string doc(string what)
- {
- var ar = what.split(".");
- var cls = this.classes.get(ar[1]);
- if (ar.length == 2) {
- return cls.doctxt != null ? cls.doctxt : "";
- }
- // return the property.. by default..
- var pr = cls.props.get(ar[2]);
- return pr.doctxt != null ? pr.doctxt : "";
-
- }
- }
+
// Gir - is the libvala based version -
- public class Gir : GirBase {
+ public class Gir : GirObject {
//Gee.Hashmap<string,what> nodes;
}
+ public string doc(string what)
+ {
+ var ar = what.split(".");
+ var cls = this.classes.get(ar[1]);
+ if (ar.length == 2) {
+ return cls.doctxt != null ? cls.doctxt : "";
+ }
+ // return the property.. by default..
+ var pr = cls.props.get(ar[2]);
+ return pr.doctxt != null ? pr.doctxt : "";
+
+ }
/**
}
-