Discovering services

Rodrigo Moya rodrigo at gnome-db.org
Fri Aug 4 04:54:54 PDT 2006


On Fri, 2006-07-07 at 02:01 +0000, Will Stephenson wrote:
> On Tuesday 04 July 2006 22:39, Jamie McCracken wrote:
> > Havoc Pennington wrote:
> > > If you need this, I think we'd have to look instead at some way to
> > > install the introspect information in files. But, that's a pretty large
> > > project and adds a fair bit of complexity.
> 
> It's a project that is seriously needed.  For safety and pleasure whilst 
> coding, one should use automatically generated dbus stubs and skeletons, so 
> for cross project interaction over dbus installed introspect XML is a must.
> 
> Either a) installing to $prefix/include along with the application's headers 
> (ugh) or b) installing elsewhere and extending pkg-config to locate them 
> would do it, I think.
> 
yes, this makes a lot of sense. Applications that have known interfaces
that can safely be used by 3rd party apps or scripts should just install
the introspect XML to some well known place. Thus, atomato (or any other
IDE-like app) would just need to read those XML files.

For things like the printer interface or other basic services, I guess
it's so low level that things like atomato don't need it at all. But for
high level interfaces (mail app, screensaver, etc), there are known and
static interfaces, and those are the interfaces atomato (and others)
need, so it makes a lot of sense to have apps that have reusable by 3rd
parties interfaces to install the XML files.
-- 
Rodrigo Moya <rodrigo at gnome-db.org>


More information about the dbus mailing list