import "sbIJobProgressService.idl";
Public Member Functions | |
void | showProgressDialog (in sbIJobProgress aJobProgress, in nsIDOMWindow aWindow, in unsigned long aTimeout) |
Display a progress dialog for an object implementing sbIJobProgress. |
This interface will eventually become a generic place to register long-running sbIJobProgress implementing tasks.
The idea is that Songbird may one day have a standardized task manager, looking something like http://dingo.songbirdnest.com/~komi/status-all-over/wireframes/service-pane-status-bar.png
Until this materializes all sbIJobProgressService can do is help launch a modal job progress dialog.
Definition at line 50 of file sbIJobProgressService.idl.
void sbIJobProgressService::showProgressDialog | ( | in sbIJobProgress | aJobProgress, | |
in nsIDOMWindow | aWindow, | |||
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. |