Re: Querying oaf of the interfaces a component implements ?
- From: rodrigo linuxave net
- To: Martin Baulig <martin home-of-linux org>
- Cc: Maciej Stachowiak <mjs eazel com>, gnome-components-list gnome org
- Subject: Re: Querying oaf of the interfaces a component implements ?
- Date: Tue, 17 Oct 2000 14:46:27 +0200
>
> > Yes. Do a query for "iid = 'OAFIID:foo:bar'" and you will get back an
> > OAF_ServerInfoList, which is an array of OAF_ServerInfo. OAF has some
> > calls to get at the values in a ServerInfo struct. Of course, the
> > accuracy of this information depends on the component author filling
> > out the repo_ids attribute accurately and including all the interfaces
> > the component implements. I've seen cases out there where this is not
> > done (for example the oafinfo files for a number of Evolution shell
> > components are missing at least "IDL:Bonobo/Unknown:1.0").
>
> Thanks.
>
> This even worked with
>
> "iid = 'OAFIID:foo:bar' AND repo_ids.have('IDL:/Bonobo/Control:1.0')"
>
> to to exactly what I wanted to know :-)
>
another question: if I've got the OAFIID, how can I know if the component is
running or not?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]