Talk:nsIObserver
From MDC
I'm not actually sure if a pref observer example is useful here, esp. given that a more detailed example is given at [1]. I suggest linking to that page and/or adding an example of an observer registered with the observer service instead. --Nickolay 01:12, 23 March 2006 (PST)
- I had just guessed that a widely used observer would be preference observers, because so many extensions use them. nsIObserver is used in a lot of different interfaces. This exmaple just shows the basic layout for any nsIObservers. Perhaps it should just link to the other example. Spanglerco 05:24, 23 March 2006 (PST)
- Ok, I removed everything but the example implementation of nsIObserver and refered people to the mozillazine page for details. --Nickolay 07:43, 23 March 2006 (PST)