Closed
Bug 400315
Opened 18 years ago
Closed 18 years ago
Reduce the number of Listener/Observer interfaces
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: richwklein, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.8pre) Gecko/20071015 Firefox/2.0.0.7 Navigator/9.0
Build Identifier:
The number of different listener and observer interfaces should be reduced. There is a comment in the calICalendar.idl file similar to this. I could not find a bug already filed though.
Current observer interfaces:
calIAlarmServiceObserver
calIObserver
calICompositeObserver
calICalendarManagerObserver
Current listener interfaces:
calIOperationListener
calIProviderListener
calIGenericOperationListener
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Updated•18 years ago
|
Component: General → Internal Components
QA Contact: general → base
Comment 1•18 years ago
|
||
calIGenericOperationListener is generic and serves for lots small-business observers, but it definitely has drawbacks for larger / more complex observers, because of its inherent type-unsafetiness.
We won't change API just to reduce the set of listener interfaces, but may do so when revisiting an API. Those changes will then be done in the corresponding bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•