On 1月24日, 上午11时18分, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I am confuse why c++ can't do this.It can.  Anything you can do in 
> > JavaScript you can do in C/C++, worst-case by
> using JSAPI directly.  ;)
>
> If the question is why you can't control the tabbrowser from C++ _easiy_ then
> the reason is that it's got a JS-only API that it doesn't expose thought
> XPConnect to other languages.  There's a bug on file that's been there for 
> years
> to fix that.
>
> -Boris


thanks for response;
I think that the best way is to write an extension in js,use this
extension to control browser,another extension to read message from
dbus,this should be ok.

thanks,

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

Reply via email to