[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] XPCOM support

From: Timothy Lee
Subject: Re: [Gnash-dev] XPCOM support
Date: Wed, 13 Aug 2008 10:59:44 +0800
User-agent: Thunderbird 3.0a1pre (X11/2008032403)

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. 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]