[fu2: news:mozilla.dev.tech.xpcom]

Hi,

I'm new to XUL/XPCOM and am searching for some patterns.

I read some doc about extensions development, and more specially XPCOM/XPConnect related stuff. I now understand the basic use of components and interfaces, have read some code from some extensions, been able to run some script via the Extensiondev Javascript shell, and able to instantiate a connection according to http://xulplanet.com/tutorials/mozsdk/sockets.php.

Before writing the XUL part, I'd like to pilot Thunderbird using a JavaScript shell with the IMAP, SMTP and NNTP XPCOM components. But I have trouble to understand how to write some code, despite http://lxr.mozilla.org/mozilla/source/mailnews/ and http://xulplanet.com/references/xpcomref/, and more specially how to identify the correct interfaces and how to combine and organize them.

Is there a general method which would allow to write some decent code, eventually a way to monitor XPCOM in real-time ?

Also, is there a more advanced JavaScript shell for Thunderbird ?

Thanks for your help.

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

Reply via email to