Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
jsdASObserver Class Reference
Inheritance diagram for jsdASObserver:
Inheritance graph
Collaboration diagram for jsdASObserver:
Collaboration graph

List of all members.

Public Member Functions

jsdASObserver ()
void observe (in nsISupports aSubject, in string aTopic, in wstring aData)
 Observe will be called when there is a notification for the topic |aTopic|.

Detailed Description

Definition at line 3283 of file jsd_xpc.cpp.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIOBSERVER jsdASObserver::jsdASObserver ( ) [inline]

Definition at line 3289 of file jsd_xpc.cpp.


Member Function Documentation

void nsIObserver::observe ( in nsISupports  aSubject,
in string  aTopic,
in wstring  aData 
) [inherited]

Observe will be called when there is a notification for the topic |aTopic|.

This assumes that the object implementing this interface has been registered with an observer service such as the nsIObserverService.

If you expect multiple topics/subjects, the impl is responsible for filtering.

You should not modify, add, remove, or enumerate notifications in the implemention of observe.

aSubject: Notification specific interface pointer.
aTopic: The notification topic or subject.
aData: Notification specific wide string. subject event.

The documentation for this class was generated from the following file: