#include <sbMediaExportService.h>
|
| | sbMediaExportService () |
| |
| virtual | ~sbMediaExportService () |
| |
| nsresult | Init () |
| |
| NS_IMETHOD | OnBoolPrefChanged (const nsAString &aPrefName, const PRBool aNewPrefValue) |
| |
| void | exportSongbirdData () |
| |
| boolean | onItemAdded (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| | Called when a media item is added to the list. More...
|
| |
| boolean | onBeforeItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| | Called before a media item is removed from the list. More...
|
| |
| boolean | onAfterItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| | Called after a media item is removed from the list. More...
|
| |
| boolean | onItemUpdated (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in sbIPropertyArray aProperties) |
| | Called when a media item is changed. More...
|
| |
| boolean | onItemMoved (in sbIMediaList aMediaList, in unsigned long aFromIndex, in unsigned long aToIndex) |
| | Called when a media item is moved. More...
|
| |
| boolean | onBeforeListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
| |
| boolean | onListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
| |
| void | onBatchBegin (in sbIMediaList aMediaList) |
| | Called when the library is about to perform multiple operations at once. More...
|
| |
| void | onBatchEnd (in sbIMediaList aMediaList) |
| | Called when the library has finished performing multiple operations at once. More...
|
| |
| void | onRebuild (in sbILocalDatabaseSmartMediaList aSmartMediaList) |
| |
| void | startTask () |
| |
| nsIStringEnumerator | getErrorMessages () |
| | Enumerate all the errors encountered during the job. More...
|
| |
| void | addJobProgressListener (in sbIJobProgressListener aListener) |
| | Add a listener to be notified when significant job progress has been made. More...
|
| |
| void | removeJobProgressListener (in sbIJobProgressListener aListener) |
| | Remove a previously added listener. More...
|
| |
|
| static NS_METHOD | RegisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo) |
| |
|
| readonly attribute boolean | hasPendingChanges |
| |
| readonly attribute boolean | needsToRunTask |
| |
| const unsigned short | STATUS_FAILED = 0x00 |
| | Constant indicating that the job has completed with errors. More...
|
| |
| const unsigned short | STATUS_SUCCEEDED = 0x10 |
| | Constant indicating that the job has completed. More...
|
| |
| const unsigned short | STATUS_RUNNING = 0x20 |
| | Constant indicating that the job is active. More...
|
| |
| readonly attribute unsigned short | status |
| | Current status of the job. More...
|
| |
| readonly attribute boolean | blocked |
| | If true, progress of job is blocked (e.g., due to locked resource). More...
|
| |
| readonly attribute AString | statusText |
| | Localized message describing the status of the job. More...
|
| |
| readonly attribute AString | titleText |
| | Localized message describing the type or purpose of the job. More...
|
| |
| readonly attribute unsigned long | progress |
| | Number of work units completed. More...
|
| |
| readonly attribute unsigned long | total |
| | Total number of work units to be completed May be set to 0 if the job length is indeterminate. More...
|
| |
| readonly attribute unsigned long | errorCount |
| | Number of errors that have been encountered. More...
|
| |
Definition at line 59 of file sbMediaExportService.h.
| sbMediaExportService::~sbMediaExportService |
( |
| ) |
|
|
virtual |
| PRBool sbMediaExportService::GetHasRecordedChanges |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::GetMediaListByGuid |
( |
const nsAString & |
aItemGuid, |
|
|
sbIMediaList ** |
aMediaList |
|
) |
| |
|
protected |
| nsresult sbMediaExportService::GetShouldWatchMediaList |
( |
sbIMediaList * |
aMediaList, |
|
|
PRBool * |
aShouldWatch |
|
) |
| |
|
protected |
| nsresult sbMediaExportService::Init |
( |
| ) |
|
| nsresult sbMediaExportService::InitInternal |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::ListenToMediaList |
( |
sbIMediaList * |
aMediaList | ) |
|
|
protected |
| nsresult sbMediaExportService::NotifyListeners |
( |
| ) |
|
|
protected |
| NS_IMETHODIMP sbMediaExportService::OnBoolPrefChanged |
( |
const nsAString & |
aPrefName, |
|
|
const PRBool |
aNewPrefValue |
|
) |
| |
|
virtual |
| void sbMediaExportService::ProxyNotifyListeners |
( |
| ) |
|
|
protected |
| NS_METHOD sbMediaExportService::RegisterSelf |
( |
nsIComponentManager * |
aCompMgr, |
|
|
nsIFile * |
aPath, |
|
|
const char * |
aLoaderStr, |
|
|
const char * |
aType, |
|
|
const nsModuleComponentInfo * |
aInfo |
|
) |
| |
|
static |
| nsresult sbMediaExportService::Shutdown |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::StopListeningMediaLists |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteAddedMediaItems |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteAddedMediaLists |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteChangesToTaskFile |
( |
| ) |
|
|
protected |
| void sbMediaExportService::WriteExportData |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteMediaItemsArray |
( |
nsIArray * |
aItemsArray | ) |
|
|
protected |
| nsresult sbMediaExportService::WriteRemovedMediaLists |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteUpdatedMediaItems |
( |
| ) |
|
|
protected |
| nsresult sbMediaExportService::WriteUpdatedSmartPlaylists |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following files: