|
enum | PRIORITY {
PRIORITY_LOW_PAUSABLE = 0
, PRIORITY_LOW
, PRIORITY_NORMAL
, PRIORITY_HIGH
,
PRIORITY_DEDICATED
} |
| Priority levels for jobs, specified by clients when adding jobs to the CJobManager. More...
|
|
| CProgressJob () |
|
| CProgressJob (CGUIDialogProgressBarHandle *progressBar) |
|
bool | IsModal () const |
| Whether the job is being run modally or in the background.
|
|
CGUIDialogProgressBarHandle * | GetProgressBar () const |
| Returns the progress bar indicating the progress of the job.
|
|
void | SetProgressBar (CGUIDialogProgressBarHandle *progress) |
| Sets the progress bar indicating the progress of the job.
|
|
CGUIDialogProgress * | GetProgressDialog () const |
| Returns the progress dialog indicating the progress of the job.
|
|
void | SetProgressDialog (CGUIDialogProgress *progressDialog) |
| Sets the progress bar indicating the progress of the job.
|
|
bool | GetAutoClose () |
| Whether to automatically close the progress indicator in MarkFinished().
|
|
void | SetAutoClose (bool autoClose) |
| Set whether to automatically close the progress indicator in MarkFinished().
|
|
bool | GetUpdateProgress () |
| Whether to update the progress bar or not.
|
|
void | SetUpdateProgress (bool updateProgress) |
| Set whether to update the progress bar or not.
|
|
bool | GetUpdateInformation () |
| Whether to update the progress information or not.
|
|
void | SetUpdateInformation (bool updateInformation) |
| Set whether to update the progress information or not.
|
|
void | ShowProgressDialog () const |
| Makes sure that the modal dialog is being shown.
|
|
void | SetTitle (const std::string &title) |
| Sets the given title as the title of the progress bar.
|
|
void | SetText (const std::string &text) |
| Sets the given text as the description of the progress bar.
|
|
void | SetProgress (float percentage) const |
| Sets the progress of the progress bar to the given value in percentage.
|
|
void | SetProgress (int currentStep, int totalSteps) const |
| Sets the progress of the progress bar to the given value.
|
|
void | MarkFinished () |
| Marks the progress as finished by setting it to 100%.
|
|
bool | IsCancelled () const |
| Checks if the progress dialog has been cancelled.
|
|