Hi, I'm the developer of an extension called AttachmentExtractor. At the moment its entirely written in JavaScript and calls the occasional function in nsMessenger(.cpp) but there are some functions I can't call because they aren't in the interface nsIMessenger(.idl) and some functions I'd like to bypass completely and replace with my own that does something differently.
So, I believe the way forward is to subclass messenger so I can gain access to those functions or to write a new Interface file. Or to replicate the code in JavaScript. I'm not really sure of the way to proceed really. For example: The function detachAttachment would be a lot better if I didn't have to have the prompt popping up and annoying the user on every email. But this function is called via the detachAttachments function in the interface and calls a whole lot of other c++ code which I doubt i'd be able to access/rewrite from JavaScript. So has anyone any guidance on how i should proceed? (If at all). I did a small amount of C++ at uni so I can read the syntax and possibly still remember how to write a helloWorld program but delving in at the deep end with mozilla's codebase is a little beyond me. (My primary coding language is Java and I of course know sufficient JavaScript to write an extension Wink) _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
