Re: Introspection API



Is a repository a single shared library or a complete view of all
available types in the system?
If not it could be reasonable to be able to query for all classes that
implements a
specific interface.

* Query for all GtkWidgets (Glade etc)
* Query for all gstreamer objects impl. interface xyz
* Nautilus extensions
* etc etc

Regards
Christian


On Tue, 15 Feb 2005 15:38:06 -0500, Matthias Clasen <mclasen redhat com> wrote:
> Trying to attack the introspection problem from the api side.
> Here is an initial api proposal for an interface repository.
> I imagine this would be implemented on top of metadata blobs
> which are mmapped readonly, thus the various *Def objects can
> be very lightweight, essentially just a pointer to the metadata
> plus an offset.
> 
> Does this look reasonable ? (except for the names, which are
>                              completely ad hoc)
> Does it cover what is needed by language bindings ?
> Are there better ways to do this ?
> 
> Comments would be appreciated,
> 
> Matthias
> 
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 
> 
> 
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]