#include <sbWindowWatcher.h>
Public Member Functions | |
nsresult | AddEventListener (const char *aEventName) |
nsresult | ClearEventListeners () |
Static Public Member Functions | |
NS_DECL_ISUPPORTS static NS_DECL_NSIDOMEVENTLISTENER nsresult | New (sbWindowWatcherEventListener **aListener, sbWindowWatcher *aSBWindowWatcher, nsIDOMWindow *aWindow) |
This class handles window events for the Songbird window watcher.
Definition at line 243 of file sbWindowWatcher.h.
nsresult sbWindowWatcherEventListener::AddEventListener | ( | const char * | aEventName | ) |
Listen for the given event on the DOM window associated with this listener
Definition at line 1070 of file sbWindowWatcher.cpp.
nsresult sbWindowWatcherEventListener::ClearEventListeners | ( | ) |
Clear all event listeners
Clear all event listeners associated with this listener
Definition at line 1100 of file sbWindowWatcher.cpp.
|
static |
Create a new instance of a Songbird window watcher event listener and return it in aListener. The Songbird window watcher object is specified by aSBWindowWatcher and the window for which events are being listened is specified by aWindow.
aListener | Songbird window watcher event listener . |
aSBWindowWatcher | Songbird window watcher object. |
aWindow | Window for which to listen for events. |
Definition at line 1006 of file sbWindowWatcher.cpp.