sbMetadataJob.cpp File Reference

Implementation for sbMetadataJob.h. More...

#include <nspr.h>
#include <nscore.h>
#include <nsAutoLock.h>
#include <pratom.h>
#include <nsArrayUtils.h>
#include <nsUnicharUtils.h>
#include <nsComponentManagerUtils.h>
#include <nsServiceManagerUtils.h>
#include <nsCRTGlue.h>
#include <nsIFile.h>
#include <nsIFileURL.h>
#include <nsAutoPtr.h>
#include <nsThreadUtils.h>
#include <nsMemory.h>
#include <nsNetUtil.h>
#include <nsIClassInfoImpl.h>
#include <nsIProgrammingLanguage.h>
#include <nsIURI.h>
#include <nsIIOService.h>
#include <nsIPrefService.h>
#include <nsIPrefBranch2.h>
#include <nsIStringBundle.h>
#include <sbIFileMetadataService.h>
#include <sbILibrary.h>
#include <sbILibraryManager.h>
#include <sbILibraryResource.h>
#include <sbILibraryUtils.h>
#include <sbILocalDatabaseLibrary.h>
#include <sbLocalDatabaseLibrary.h>
#include <sbILocalDatabaseMediaItem.h>
#include <sbIPropertyArray.h>
#include <sbIPropertyInfo.h>
#include <sbIPropertyManager.h>
#include <sbIMediaItem.h>
#include <sbIMediaList.h>
#include <sbStandardProperties.h>
#include <sbPropertiesCID.h>
#include <sbIAlbumArtFetcherSet.h>
#include <sbIWatchFolderService.h>
#include <sbStringBundle.h>
#include <sbStringUtils.h>
#include <sbTArrayStringEnumerator.h>
#include "sbIMetadataManager.h"
#include "sbIMetadataHandler.h"
#include "sbMetadataJob.h"
#include "sbMetadataJobItem.h"
#include "prlog.h"
Include dependency graph for sbMetadataJob.cpp:

Go to the source code of this file.

Macros

#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Typedefs

typedef sbStringSet::iterator sbStringSetIter
 

Functions

 NS_IMPL_THREADSAFE_ISUPPORTS5 (sbMetadataJob, nsIClassInfo, sbIJobProgress, sbIJobProgressUI, sbIJobCancelable, sbIAlbumArtListener)
 
 NS_IMPL_CI_INTERFACE_GETTER5 (sbMetadataJob, nsIClassInfo, sbIJobProgress, sbIJobProgressUI, sbIJobCancelable, sbIAlbumArtListener) sbMetadataJob
 

Variables

const PRUint32 NUM_BACKGROUND_ITEMS_BEFORE_FLUSH = 50
 
const PRUint32 NUM_ITEMS_PROCESSED_THRESHOLD = 1000
 

Detailed Description

Implementation for sbMetadataJob.h.

Definition in file sbMetadataJob.cpp.

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 107 of file sbMetadataJob.cpp.

#define TRACE (   args)    /* nothing */

Definition at line 106 of file sbMetadataJob.cpp.

Typedef Documentation

typedef sbStringSet::iterator sbStringSetIter

Definition at line 95 of file sbMetadataJob.cpp.

Function Documentation

NS_IMPL_CI_INTERFACE_GETTER5 ( sbMetadataJob  ,
nsIClassInfo  ,
sbIJobProgress  ,
sbIJobProgressUI  ,
sbIJobCancelable  ,
sbIAlbumArtListener   
)

Definition at line 119 of file sbMetadataJob.cpp.

NS_IMPL_THREADSAFE_ISUPPORTS5 ( sbMetadataJob  ,
nsIClassInfo  ,
sbIJobProgress  ,
sbIJobProgressUI  ,
sbIJobCancelable  ,
sbIAlbumArtListener   
)

Variable Documentation

const PRUint32 NUM_BACKGROUND_ITEMS_BEFORE_FLUSH = 50

Definition at line 90 of file sbMetadataJob.cpp.

const PRUint32 NUM_ITEMS_PROCESSED_THRESHOLD = 1000

Definition at line 93 of file sbMetadataJob.cpp.