[webkit-help] C++ from javascript and vice versa
Anders Bakken
anders.bakken at myriadgroup.com
Sat May 1 12:36:06 PDT 2010
Do you mean an NPAPI plugin? I think implementing support for that actually
is much more work than implementing the solution I've been working on. It's
really kind of a nasty techonology (NPAPI) IMHO.
Regards
Anders
On 4/30/10 11:02 AM, "Christopher White" <skullknife at gmail.com> wrote:
> Why don't you use a plugin?
>
>
>
>
> On Apr 30, 2010, at 9:14 AM, Anders Bakken <anders.bakken at myriadgroup.com
>> wrote:
>
>> I want to add support for exposing C++ classes to the javascript
>> engine
>> and I had a question on what APIs to use.
>>
>> The intention is to be able to implement the Bondi API
>> (http://bondi.omtp.org/default.aspx).
>>
>> I know the Qt port makes this easy through Qt's meta object system but
>> we're not using Qt.
>>
>> I already have a reasonably functional implementation using the same
>> APIs that Qt used to implement it. I relied on the classes in
>> WebCore/bridge and while the APIs are sometimes a little hard to
>> understand it seems to work. A colleague of mine however mentioned
>> that
>> he thought the APIs in JavaScriptCore/API are more suited for this
>> so I
>> figured I'd ask what the appropriate interface is.
>>
>> Is this the right mailing list for this kind of question btw?
>>
>> If anyone's interesting in seeing the approach I've taken it can be
>> found here:
>>
>> http://gitorious.org/~AndersBakken/webkit/andersbakkens-webkit/commits/hybrid
>>
>> regards
>>
>> --
>> Anders Bakken
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
More information about the webkit-help
mailing list