Re: [gdome] Some commits

Date view Thread view Subject view Author view Other groups

Subject: Re: [gdome] Some commits
From: Raph Levien (raph@acm.org)
Date: Wed Apr 07 1999 - 23:19:17 EDT


Ian Main wrote:
>
> I modified ifgen.pl to genereate gdome.c, gdome.h and gdome-xml.c directly..
>
> Raph, I noticed you have done a fair bit of implementation work in gdome-xml.c,
> is this the planned way to do it ? When generating the interfaces, it makes it a
> bit odd. Using DOM1.idl to generate the interfaces didn't have the Parser extentions
> from gnome-dom, so I had to modify gdome-xml.c by hand. Not a big deal this time around,
> but in the future it would be nice to be able to just generate the new files.
>
> Any ideas ?

Yep. There are two choices here. First, you can leave gdome-xml.c just
the way it is now - it is _initially_ autogenerated by ifgen, but the
actual implementation needs to get handcoded. You want to make
generation of gdome-xml.c optional, no doubt, otherwise you might
overwrite real work in gdome-xml.c.

Second, you can have ifgen pull in the implementation from some other
file. Thus, ifgen becomes a compiler for an object-oriented extension to
C :)

The generation of the corba wrappers can probably be done totally
automatically.

Raph

----
message from gdome@rpmfind.net
Archive at http://rpmfind.net/tools/gdome/messages/
Unsubscribing: echo "unsubscribe gdome" | mail majordomo@rpmfind.net


Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b27 : Fri Nov 19 1999 - 07:44:23 EST