Back to index

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

List of all members.

Public Member Functions

 nsSingleSignOnProfileObserver ()
virtual ~nsSingleSignOnProfileObserver ()
NS_DECL_ISUPPORTS NS_IMETHODIMP Observe (nsISupports *, const char *aTopic, const PRUnichar *someData)
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 1788 of file singsign.cpp.

Constructor & Destructor Documentation

Definition at line 1791 of file singsign.cpp.

{ }

Definition at line 1792 of file singsign.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.
NS_DECL_ISUPPORTS NS_IMETHODIMP nsSingleSignOnProfileObserver::Observe ( nsISupports *  ,
const char *  aTopic,
const PRUnichar someData 
) [inline]

Definition at line 1796 of file singsign.cpp.

        if (!strcmp(aTopic, "profile-before-change")) {
        if (!nsCRT::strcmp(someData, NS_LITERAL_STRING("shutdown-cleanse").get()))
        return NS_OK;

Here is the call graph for this function:

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