27 #ifndef SBITUNESIMPORTERSTATUS_H_
28 #define SBITUNESIMPORTERSTATUS_H_
32 #include <nsAutoPtr.h>
33 #include <nsStringAPI.h>
34 #include <nsThreadUtils.h>
36 #include <sbIDataRemote.h>
90 typedef nsRefPtr<sbiTunesImporterJob> sbiTunesImporterJobPtr;
99 sbiTunesImporterJobPtr mJobProgress;
103 PRUint32 mLastProgress;
107 nsString mLastStatusText;
115 PRInt64 mProgressMax;
127 nsString mStatusText;
Generic interface for exposing long running jobs to the UI.
nsCOMPtr< sbIDataRemote > sbIDataRemotePtr
~sbiTunesImporterStatus()
static sbiTunesImporterStatus * New(sbiTunesImporterJob *aJobProgress)
void SetProgress(PRInt64 aProgress)
void SetStatusText(nsAString const &aMsg)
void SetProgressMax(PRInt64 aMaxProgress)