Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Member Functions
nsAutoCompleteCollector Class Reference

#include <nsAutoCompleteCollector.h>

Inheritance diagram for nsAutoCompleteCollector:
Inheritance graph
[legend]
Collaboration diagram for nsAutoCompleteCollector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIMETRICSCOLLECTOR
NS_DECL_NSIOBSERVER 
nsAutoCompleteCollector ()
void onAttach ()
 Notification that this collector should be enabled.
void onDetach ()
 Notification that this collector is no longer enabled.
void onNewLog ()
 Notification that the MetricsService is starting a new event log.
void observe (in nsISupports aSubject, in string aTopic, in wstring aData)
 Observe will be called when there is a notification for the topic |aTopic|.

Private Member Functions

 ~nsAutoCompleteCollector ()

Detailed Description

Definition at line 52 of file nsAutoCompleteCollector.h.


Constructor & Destructor Documentation

Definition at line 51 of file nsAutoCompleteCollector.cpp.

{
}

Definition at line 55 of file nsAutoCompleteCollector.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.

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

Notification that this collector should be enabled.

The collector should register itself for observer and event notifications as necessary.

Notification that this collector is no longer enabled.

The collector should unregister itself from observer and event notifications so that the object can be freed.

Notification that the MetricsService is starting a new event log.

This happens after any onDetach() notifications that result from parsing the new configuration.


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