https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings
has pretty good documentation about webidl.

The C++ used to implement webidl interfaces need to be compiled into Gecko, as 
well as
the code generated from webidl files themselves.


-Olli

On 03/21/2014 01:03 AM, Syed Qutub wrote:
Hi All

I have a test phone and I have built and installed B2G on it. Actually we may 
have to fork OS or Gecko and add our project to it if this is the
ONLY way to go. This may not make much sense at this point though but we are 
not looking to distribute our project/app to others for now.

I have tried emscripten but due to size and complexity of our project, there 
are so many issues. I can give emscripten another try with some more
help from their google group, but we will have to wait for some time for all 
the required functionalities to be available in Javascript API.

So I would like to give WebIDL a try and I am completely new to it. How does it 
work? I suppose I would have to include my c++ project code in FFOS
and expose my functions to javascript (but how). So can anyone let me know some 
basic steps to achieve that, starters, or some pointer to a
tutorial etc.

Thanks. Syed

P.S. Is there any issue with this mozilla.dev.b2g google group, since I wasn't 
able to post to my own topic I previously created, and not able to
create any new posts although I am a member.


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to