On Thu, 2010-08-26 at 14:50 -0700, Adam Dingle wrote: > On 08/26/2010 02:39 PM, Bruno Girin wrote: > > On Thu, 2010-08-26 at 14:22 -0700, Adam Dingle wrote: > > > > > >> I think we should build our plugin system using libpeas > >> (http://live.gnome.org/Libpeas). Then plugin authors will be able to > >> use C, Python or JavaScript as they please. > >> > > If C is an option does it mean that you could potentially write a plugin > > in Vala too? > > > > Absolutely. By the way, gedit now uses libpeas for its own plugin > system (in fact libpeas evolved out of gedit - see > http://log.istique.net/2010-06-03/announcing-libpeas.html) and some > gedit plugins are written in Vala (including one of my favorite gedit > plugins: http://yorba.org/valencia/ :) .
Yes, I had a look at libpeas, it looks really nice! And the API is designed so that you can define several extension interfaces for a given application plugin support and each plugin only implements the interfaces that it provides. So it would be a good way to introduce plugins to Shotwell: start with one or two stable extension interfaces and gradually include more when internal APIs stabilise. Bruno _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
