sbiTunesImporterStatus Class Reference

#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 sbiTunesImporterStatusNew (sbiTunesImporterJob *aJobProgress)
 

Detailed Description

This class manages status updates for the iTunes importer

Definition at line 44 of file sbiTunesImporterStatus.h.

Constructor & Destructor Documentation

sbiTunesImporterStatus::~sbiTunesImporterStatus ( )

Definition at line 45 of file sbiTunesImporterStatus.cpp.

Member Function Documentation

PRBool sbiTunesImporterStatus::CancelRequested ( )

Returns PR_TRUE if a cancel has been requested

Definition at line 54 of file sbiTunesImporterStatus.cpp.

void sbiTunesImporterStatus::Done ( )
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.

Here is the call graph for this function:

sbiTunesImporterStatus * sbiTunesImporterStatus::New ( sbiTunesImporterJob aJobProgress)
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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:


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