Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsIObserverService Interface Reference

import "nsIObserverService.idl";

Inheritance diagram for nsIObserverService:

nsISupports

List of all members.


Detailed Description

nsIObserverService

Service allows a client listener (nsIObserver) to register and unregister for notifications of specific string referenced topic. Service also provides a way to notify registered listeners and a way to enumerate registered client listeners.

FROZEN

Definition at line 55 of file nsIObserverService.idl.


Public Member Functions

void addObserver (in nsIObserver anObserver, in string aTopic, in boolean ownsWeak)
nsISimpleEnumerator enumerateObservers (in string aTopic)
void notifyObservers (in nsISupports aSubject, in string aTopic, in wstring someData)
void removeObserver (in nsIObserver anObserver, in string aTopic)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index