Re: Gtk2::MozEmbed + DOM
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::MozEmbed + DOM
- Date: Wed, 30 Mar 2005 20:35:45 +0200
On Wed, 2005-03-30 at 19:44 +0200, Scott Lanning wrote:
But the problem I think is that this won't work if
Mozilla::* are separate modules, because I don't
Perl modules distribute C header files. (?) So I guess
Gtk2::MozEmbed would also have to keep the
(newSV|Sv)nsIDOMKeyEvent functions itself.
This is where the magical ExtUtils::Depends comes in. It lets modules
depend on other XS modules. That's what Gtk2::MozEmbed does with Gtk2,
which in turn depends on Glib. They all have their public header
installed some place where ExtUtils::Depends can find them, so you can
just include them and have all their conversion functions and helpers
available to you.
If you use ExtUtils::Depends in Mozilla (just copy and edit one of our
Makefile.PL's), then Gtk2::MozEmbed could easily depend on it.
Everything in the public header(s) plus all the typemaps would be
available to Gtk2::MozEmbed.
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]