Dear Rob,
Rob Savoye wrote:
I've added minimal XPCOM support to Gnash for start the process of
having the plugin be much better integrated into Firefox. This will
work in addition to the existing NPAPI support. Among other things,
this will also finally let Gnash and Javascript work together much
better. While this XPCOM component builds, it's dependant header files
are found, and it gets added to the xpi properly, there seems to be a
problem with IDs. I can't seem to get the XPCOM component to register
within Firefox. :-(
So anyway, I'm hoping somebody with more XPCOM experience (I never
looked at XPCOM till a few days ago) can see what my stupid mistake is
that prevents this from registering. I've done the hard part, which is
adding the config tests, the initial source and build code, and the
XPI packaging support. It's all in trunk now, use --enable-xpcom and
--enable-nspr4 to use.
I've had a look at the code in trunk, and basically
nsPluginInstance::GetValue() needs to handle
NPPVpluginScriptableInstance and NPPVpluginScriptableIID.
http://www.mozilla.org/projects/plugins/scripting-plugins.html has an
example of how it is done. The nsScriptablePeer class in the example
corresponds to GnashComponent class.
I'd love to help out with the coding, but my job is taking up all my
time... Sorry.
Regards,
Timothy
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev