Re: libgnomeoffice* plugin management
Rodrigo Moya <[email protected]> Tue, 18 Jan 2005 01:31:29 +0100
| Newsgroups | gmane.comp.gnome.office.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2005-01-13 at 12:25 +0100, Sven Herzberg wrote: > Am Donnerstag, den 13.01.2005, 11:32 +0100 schrieb Jean Bréfort: > > You should also have a look at libgoffice. It is still not independant > > from gnumeric but it will happen hopefully soon. Jody might tell you > > more about the delay. > > http://cvs.gnome.org/viewcvs/criawips/src/cut-n-paste/goffice/ > > > libgoffice has plugin support and also a charting engine that might be > > used in criawips/ > > It hasn't you can try to find it at [1] but you will fail. You will find > it in Gnumeric's tree [2]. > > [1] http://cvs.gnome.org/viewcvs/gnumeric/src/cut-n-paste-code/goffice/ > [2] http://cvs.gnome.org/viewcvs/gnumeric/src/ (see plugin*.[ch]) > > I don't think that just copying and pasting will be enough, as different > developers expect different features; e.g. I'd like to see things like a > FileFormatService that specifies mime types that it can read; other > people might want to have specified whether plugins can be loaded at > runtime or whether they need to be loaded at startup. The plugin system > of Gnumeric is e.g. not based on interfaces and so I'd like to design a > new/modified plugin system. > > To make it usable for most of us, we need to discuss what we need and > what we don't need, so there won't be neccessary major changes within > the near future (as requirements may change I don't talk about 2 or 3 > year scopes). > IMO, the basic things we need are: a plugin loader, a plugin class and generic interfaces for "services". I think what there is in libgnomeoffice is a good base for that. -- Rodrigo Moya <[email protected]>