Helge Jensen wrote:
> I would like to implement a listener that would notify me in special
> ways when i get new mail. i.e. pop-up a window or send a message to a
> daemon program running on some port.
>
> I have managed to checkout and compile mozilla (well, it's still
> running, but it'll work ;).
>
> I have also identified some components which are related to the
> current Biff-stuff:
>
> * mozilla/mailnews/base/src/nsMsgBiffManager.{h,cpp}
> * nsStatusBarBiffManager.{h,cpp}
>
> What I would really like, is to be able to write a Biff-thingy that
> would go into mozilla, and have an interface which various plug-ins
> could then bind to, thus keeping separation between the
> mozilla-related and the "other" part of the code.
>
> Unfortunatly, I cannot (from just looking at the code) see how the
> current Biff design works. Where do I find information on that (other
> than in the source!) ?
>
> Is there a better way to go?
>
> Who should i talk to to get on with the implementation?
>
I think it's currently being worked on.
See bug 18729 http://bugzilla.mozilla.org/show_bug.cgi?id=18729