The beginnings of a service to track all background tasks. More...
|void||showProgressDialog (in sbIJobProgress aJobProgress, in nsIDOMWindow aWindow, in unsigned long aTimeout)|
|Display a progress dialog for an object implementing sbIJobProgress. More...|
The beginnings of a service to track all background tasks.
This interface will eventually become a generic place to register long-running sbIJobProgress implementing tasks.
Until this materializes all sbIJobProgressService can do is help launch a modal job progress dialog.
|void sbIJobProgressService::showProgressDialog||(||in sbIJobProgress||aJobProgress,|
|in unsigned long||aTimeout|
Display a progress dialog for an object implementing sbIJobProgress.
If the job has not completed in a given amount of time, display a modal progress dialog.
|aJobProgress||sbIJobProgress interface to be displayed.|
|aWindow||Parent window for the dialog. Can be null.|
|aTimeout||Time to wait before opening a dialog. Defaults to 1 second. Pass 0 to open the dialog immediately.|