sbWindowWatcherWaitForWindow Class Reference

#include <sbWindowWatcher.h>

Inheritance diagram for sbWindowWatcherWaitForWindow:
[legend]
Collaboration diagram for sbWindowWatcherWaitForWindow:
[legend]

Public Member Functions

virtual ~sbWindowWatcherWaitForWindow ()
 
nsresult Wait (const nsAString &aWindowType)
 Wait until a window of the type specified by aWindowType is available or until shutdown. More...
 
- Public Member Functions inherited from sbICallWithWindowCallback
void handleWindowCallback (in nsIDOMWindow aWindow)
 Handle the callback with the window specified by aWindow. More...
 

Static Public Member Functions

NS_DECL_ISUPPORTS static
NS_DECL_SBICALLWITHWINDOWCALLBACK
nsresult 
New (sbWindowWatcherWaitForWindow **aWaitForWindow)
 

Detailed Description

This class gets windows of a specified type and will wait until a window of the specified type is available and ready.

Definition at line 330 of file sbWindowWatcher.h.

Constructor & Destructor Documentation

sbWindowWatcherWaitForWindow::~sbWindowWatcherWaitForWindow ( )
virtual

Destroy the wait for window object.

Definition at line 1219 of file sbWindowWatcher.cpp.

Member Function Documentation

nsresult sbWindowWatcherWaitForWindow::New ( sbWindowWatcherWaitForWindow **  aWaitForWindow)
static

Create a new instance of a wait for window object and return it in aWaitForWindow.

Parameters
aWaitForWindowWait for window object.

Definition at line 1191 of file sbWindowWatcher.cpp.

nsresult sbWindowWatcherWaitForWindow::Wait ( const nsAString &  aWindowType)

Wait until a window of the type specified by aWindowType is available or until shutdown.

Parameters
aWindowTypeType of window to get.

Definition at line 1240 of file sbWindowWatcher.cpp.


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