Open Bug 64947 Opened 24 years ago Updated 2 years ago

remove nsStatusBarBiffManager, create nsIBiffHandler, nsBiffManager, nsPlaySoundBiffHandler, nsStatusBarBiffHandler

Categories

(MailNews Core :: Backend, defect)

x86
All
defect

Tracking

(Not tracked)

People

(Reporter: sspitzer, Unassigned)

References

(Blocks 1 open bug)

Details

We should have one folder listener for biff, say nsBiffManager.  We'll create a
nsIBiffHandler interface that has a single doBiff() method.

nsBiffManager would be based on nsStatusBarBiffManager.cpp, but the code to
update the UI would be moved out into nsStatusBarBiffHandler.

nsPlaySoundBiffHandler, nsStatusBarBiffHandler, (etc) would implement the
nsIBiffHandler interface and register themselves as members of the
"biff-handler" category.

on new mail, nsBiffManager would enumerate through all the services that
register themselves as members of a "biff-handler" category, QI them to
nsIBiffHandler, and call DoBiff().

to add future biff handlers, like a notification one, someone would just have to
drop in a component that had a service that implemented the nsIBiffHandler
interface that registered with the "biff-handler" interface.
Summary: remove nsStatusBarBiffManager, create nsIBiffHandler, nsBiffManager, nsPlaySoundBiffHandler, nsStatusBarBiffHandler → remove nsStatusBarBiffManager, create nsIBiffHandler, nsBiffManager, nsPlaySoundBiffHandler, nsStatusBarBiffHandler
change qa contact ->fenella
QA Contact: esther → fenella
Assign to Sheelar
QA Contact: fenella → sheelar
adding this to main biff tracking bug
Blocks: biff
QA Contact: sheelar → stephend
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → backend
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.