Re: Sample bonobo2 container.
Michael Meeks <[email protected]>
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Organization | Ximian. |
| Message-ID | <[email protected]> |
Hi Sergey,
On Wed, 2003-03-26 at 00:37, Sergey V. Oudaltsov wrote:
> Thank you for the feedback. I will have a look and put some order into
> my hacks. Just a couple of easy questions:
Great; thanks.
> I will try to find it. But if you could give me a line of code - I would
> be grateful. How would you obtain the name of the interface having the
> file name. AFAIU, the chain should be "file extention" -> "mime type" ->
> "interace". So how would you do this?
Ok - so you want to just use a simple moniker resoltion like this:
Bonobo_Unknown foo = bonobo_get_object ("<file-path",
"IDL:Bonobo/Control:1.0", NULL);
And that will give you NIL or an object reference to the right
component - as if by magic ;-)
> OK. I will create 2 files:)
Or a command line option, that's simply propagated into the code as a
non-#define variable. NB. I'm not interested in global variables either
really ;-)
> Is there standard configuration file for indent in GNOME CVS?
Nope; not that I'm aware of; see the hackers guide on
developer.gnome.org though, there may be now.
It'll be nice to have a good, standard example.
Thanks,
Michael.
--
[email protected] <><, Pseudo Engineer, itinerant idiot