sbLibraryUtils.cpp File Reference
#include "sbLibraryUtils.h"
#include "sbMediaListEnumArrayHelper.h"
#include <vector>
#include <nsIFile.h>
#include <nsIFileURL.h>
#include <nsIProxyObjectManager.h>
#include <nsIThread.h>
#include <nsIURI.h>
#include <nsArrayUtils.h>
#include <nsAutoPtr.h>
#include <nsComponentManagerUtils.h>
#include <nsNetUtil.h>
#include <nsStringAPI.h>
#include <nsThreadUtils.h>
#include <sbIDevice.h>
#include <sbIDeviceManager.h>
#include <sbILibrary.h>
#include <sbILocalDatabaseSmartMediaList.h>
#include <sbIMediaList.h>
#include <sbIMediaItem.h>
#include <sbIPropertyArray.h>
#include <sbIPropertyInfo.h>
#include <sbIPropertyManager.h>
#include <sbArrayUtils.h>
#include <sbFileUtils.h>
#include <sbPropertiesCID.h>
#include <sbProxiedComponentManager.h>
#include "sbMediaListEnumSingleItemHelper.h"
#include <sbStandardProperties.h>
#include <sbStringUtils.h>
Include dependency graph for sbLibraryUtils.cpp:

Go to the source code of this file.

Classes

class  MediaItemArrayCreator
 
class  sbLUMediaListEnumerator
 

Functions

static nsresult FindByProperties (sbIMediaList *aList, sbIPropertyArray *aProperties, nsIArray *aCopies)
 
static nsresult FindByOrigin (sbIMediaList *aList, nsString const &aOriginLibGuid, nsString const &aOriginItemGuid, nsIArray *aCopies)
 
static nsresult FindByContentURL (sbIMediaList *aList, nsString const &aContentURL, nsIArray *aCopies)
 
static nsresult FindByOriginURL (sbIMediaList *aList, nsString const &aOriginURL, nsIArray *aCopies)
 
nsCOMPtr< nsIIOService > GetIOService (nsresult &rv)
 
 NS_IMPL_ISUPPORTS1 (MediaItemArrayCreator, sbIMediaListEnumerationListener) NS_IMETHODIMP MediaItemArrayCreator
 
 NS_IMPL_ISUPPORTS1 (sbLUMediaListEnumerator, sbIMediaListEnumerationListener) NS_IMETHODIMP sbLUMediaListEnumerator
 

Function Documentation

static nsresult FindByContentURL ( sbIMediaList aList,
nsString const &  aContentURL,
nsIArray *  aCopies 
)
static

Definition at line 131 of file sbLibraryUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static nsresult FindByOrigin ( sbIMediaList aList,
nsString const &  aOriginLibGuid,
nsString const &  aOriginItemGuid,
nsIArray *  aCopies 
)
static

Definition at line 103 of file sbLibraryUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static nsresult FindByOriginURL ( sbIMediaList aList,
nsString const &  aOriginURL,
nsIArray *  aCopies 
)
static

Definition at line 151 of file sbLibraryUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static nsresult FindByProperties ( sbIMediaList aList,
sbIPropertyArray aProperties,
nsIArray *  aCopies 
)
static

Definition at line 64 of file sbLibraryUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsCOMPtr<nsIIOService> GetIOService ( nsresult &  rv)
inline

Definition at line 502 of file sbLibraryUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

NS_IMPL_ISUPPORTS1 ( MediaItemArrayCreator  ,
sbIMediaListEnumerationListener   
)

Definition at line 656 of file sbLibraryUtils.cpp.

Definition at line 722 of file sbLibraryUtils.cpp.