#include <sbiTunesImporterStatus.h>
Public Member Functions | |
~sbiTunesImporterStatus () | |
PRBool | CancelRequested () |
nsresult | Initialize () |
void | Finalize () |
nsresult | Reset () |
void | SetStatusText (nsAString const &aMsg) |
void | SetProgress (PRInt64 aProgress) |
void | SetProgressMax (PRInt64 aMaxProgress) |
void | Done () |
nsresult | Update () |
Static Public Member Functions | |
static sbiTunesImporterStatus * | New (sbiTunesImporterJob *aJobProgress) |
This class manages status updates for the iTunes importer
Definition at line 44 of file sbiTunesImporterStatus.h.
sbiTunesImporterStatus::~sbiTunesImporterStatus | ( | ) |
Definition at line 45 of file sbiTunesImporterStatus.cpp.
PRBool sbiTunesImporterStatus::CancelRequested | ( | ) |
Returns PR_TRUE if a cancel has been requested
Definition at line 54 of file sbiTunesImporterStatus.cpp.
|
inline |
Signals we're done
Definition at line 82 of file sbiTunesImporterStatus.h.
void sbiTunesImporterStatus::Finalize | ( | ) |
Clean up resources
Definition at line 97 of file sbiTunesImporterStatus.cpp.
nsresult sbiTunesImporterStatus::Initialize | ( | ) |
Initializes the dataremote and job progress member
Definition at line 63 of file sbiTunesImporterStatus.cpp.
|
static |
Definition at line 50 of file sbiTunesImporterStatus.cpp.
nsresult sbiTunesImporterStatus::Reset | ( | ) |
Resets the status
Definition at line 102 of file sbiTunesImporterStatus.cpp.
void sbiTunesImporterStatus::SetProgress | ( | PRInt64 | aProgress | ) |
Sets the current progress
Definition at line 108 of file sbiTunesImporterStatus.cpp.
void sbiTunesImporterStatus::SetProgressMax | ( | PRInt64 | aMaxProgress | ) |
Sets the max process value
Definition at line 113 of file sbiTunesImporterStatus.cpp.
void sbiTunesImporterStatus::SetStatusText | ( | nsAString const & | aMsg | ) |
Sets the status message
Definition at line 117 of file sbiTunesImporterStatus.cpp.
nsresult sbiTunesImporterStatus::Update | ( | ) |
Updates the status to the UI
Definition at line 121 of file sbiTunesImporterStatus.cpp.