#include "sbLocalDatabaseDiffingService.h"
#include <vector>
#include <algorithm>
#include "sbLocalDatabaseCID.h"
#include <nsIAppStartupNotifier.h>
#include <nsICategoryManager.h>
#include <nsIClassInfoImpl.h>
#include <nsIURI.h>
#include <nsIMutableArray.h>
#include <nsIObserverService.h>
#include <nsIProgrammingLanguage.h>
#include <nsIStringEnumerator.h>
#include <sbIMediaListView.h>
#include <nsArrayUtils.h>
#include <nsComponentManagerUtils.h>
#include <nsDataHashtable.h>
#include <nsHashKeys.h>
#include <nsTHashtable.h>
#include <nsMemory.h>
#include <nsServiceManagerUtils.h>
#include <nsTArray.h>
#include <nsXPCOMCID.h>
#include <sbIndex.h>
#include <sbLibraryChangeset.h>
#include <sbLibraryUtils.h>
#include <sbPropertiesCID.h>
#include <sbStandardProperties.h>
#include <sbStringUtils.h>
Go to the source code of this file.
Classes | |
class | sbLDBDSEnumerator |
struct | sbLDBDSEnumerator::ItemInfo |
class | sbLDBDSEnumerator::IDCompare |
class | sbLDBDSEnumerator::OriginIDCompare |
struct | EnumeratorArgs |
Macros | |
#define | TRACE(args) PR_BEGIN_MACRO /* nothing */ PR_END_MACRO |
#define | LOG(args) PR_BEGIN_MACRO /* nothing */ PR_END_MACRO |
Functions | |
void | LogMediaItem (char const *, sbIMediaItem *) |
nsString | sbGUIDToString (nsID const &aID) |
nsID | GetItemGUID (sbIMediaItem *aItem) |
nsID | GetGUIDProperty (sbIMediaItem *aItem, nsAString const &aProperty) |
NS_IMPL_THREADSAFE_ISUPPORTS1 (sbLDBDSEnumerator, sbIMediaListEnumerationListener) sbLDBDSEnumerator | |
NS_INTERFACE_MAP_END | NS_IMPL_CI_INTERFACE_GETTER1 (sbLocalDatabaseDiffingService, sbILibraryDiffingService) sbLocalDatabaseDiffingService |
template<class T , class M > | |
T | FindNextUsable (T aIter, T aEnd, M aMember) |
static void | MarkLists (sbLDBDSEnumerator *aSrc, sbLDBDSEnumerator *aDest) |
nsresult | AddUniqueItem (nsTHashtable< nsIDHashKey > &aItems, sbIMediaItem *aItem) |
Variables | |
static nsID const | NULL_GUID = {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0 } } |
#define LOG | ( | args | ) | PR_BEGIN_MACRO /* nothing */ PR_END_MACRO |
Definition at line 97 of file sbLocalDatabaseDiffingService.cpp.
#define TRACE | ( | args | ) | PR_BEGIN_MACRO /* nothing */ PR_END_MACRO |
Definition at line 96 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 1344 of file sbLocalDatabaseDiffingService.cpp.
T FindNextUsable | ( | T | aIter, |
T | aEnd, | ||
M | aMember | ||
) |
Definition at line 529 of file sbLocalDatabaseDiffingService.cpp.
nsID GetGUIDProperty | ( | sbIMediaItem * | aItem, |
nsAString const & | aProperty | ||
) |
Definition at line 128 of file sbLocalDatabaseDiffingService.cpp.
nsID GetItemGUID | ( | sbIMediaItem * | aItem | ) |
Definition at line 115 of file sbLocalDatabaseDiffingService.cpp.
|
inline |
Definition at line 99 of file sbLocalDatabaseDiffingService.cpp.
|
static |
Definition at line 549 of file sbLocalDatabaseDiffingService.cpp.
NS_INTERFACE_MAP_END NS_IMPL_CI_INTERFACE_GETTER1 | ( | sbLocalDatabaseDiffingService | , |
sbILibraryDiffingService | |||
) |
Definition at line 490 of file sbLocalDatabaseDiffingService.cpp.
NS_IMPL_THREADSAFE_ISUPPORTS1 | ( | sbLDBDSEnumerator | , |
sbIMediaListEnumerationListener | |||
) |
Definition at line 387 of file sbLocalDatabaseDiffingService.cpp.
nsString sbGUIDToString | ( | nsID const & | aID | ) |
Definition at line 105 of file sbLocalDatabaseDiffingService.cpp.
|
static |
Definition at line 60 of file sbLocalDatabaseDiffingService.cpp.