Re: [gdome] Some commits
- From: Raph Levien <raph acm org>
- To: gdome rpmfind net
- Subject: Re: [gdome] Some commits
- Date: Wed, 07 Apr 1999 20:19:17 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]