Public Member Functions | |
SyncExportEnumListener () | |
virtual nsresult | ProcessItem (sbIMediaList *aMediaList, sbIMediaItem *aMediaItem) |
virtual nsresult | SelectChangeForItem (sbIMediaItem *aMediaItem, ChangeType *aChangeType, sbIMediaItem **aDestMediaItem) |
virtual nsresult | SelectChangeForList (sbIMediaList *aMediaList, ChangeType *aChangeType, sbIMediaList **aDestMediaList) |
Public Member Functions inherited from SyncEnumListenerBase | |
SyncEnumListenerBase () | |
virtual nsresult | Init (DropAction aDropAction, sbILibrary *aMainLibrary, sbILibrary *aDeviceLibrary) |
nsresult | AddChange (PRUint32 aChangeType, sbIMediaItem *aSrcItem, sbIMediaItem *aDstItem, nsIArray *aListItems=NULL) |
nsresult | AddListChange (PRUint32 aChangeType, sbIMediaList *aSrcList, sbIMediaList *aDstList) |
void | SetMediaTypes (PRUint32 aMediaTypes) |
void | SetHandleMode (HandleMode aMode) |
nsresult | Finish () |
Public Member Functions inherited from sbIMediaListEnumerationListener | |
unsigned short | onEnumerationBegin (in sbIMediaList aMediaList) |
Called when enumeration is about to begin. More... | |
unsigned short | onEnumeratedItem (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem) |
Called once for each item in the enumeration. More... | |
void | onEnumerationEnd (in sbIMediaList aMediaList, in nsresult aStatusCode) |
Called when enumeration has completed. More... | |
Public Attributes | |
nsTArray< nsCOMPtr < sbIMediaList > > | mMixedContentPlaylists |
Public Attributes inherited from SyncEnumListenerBase | |
nsRefPtr< sbLibraryChangeset > | mChangeset |
Public Attributes inherited from sbIMediaListEnumerationListener | |
const unsigned short | CONTINUE = 0 |
const unsigned short | CANCEL = 1 |
Protected Member Functions | |
nsresult | GetItemWithOriginGUID (sbILibrary *aDeviceLibrary, nsString aItemID, sbIMediaItem **aMediaItem) |
virtual nsresult | GetMatchingPlaylist (sbILibrary *aLibrary, sbIMediaList *aList, sbIMediaList **aMatchingList) |
Protected Member Functions inherited from SyncEnumListenerBase | |
virtual | ~SyncEnumListenerBase () |
nsresult | CreatePropertyChangesForItemAdded (sbIMediaItem *aSourceItem, nsIArray **aPropertyChanges) |
nsresult | CreatePropertyChangesForItemModified (sbIMediaItem *aSourceItem, sbIMediaItem *aDestinationItem, nsIArray **aPropertyChanges) |
nsresult | GetTimeProperty (sbIMediaItem *aMediaItem, nsString aPropertyName, PRInt64 *_result) |
bool | HasCorrectContentType (sbIMediaItem *aItem) |
bool | ListIsMixed (sbIMediaList *aList) |
bool | ListHasCorrectContentType (sbIMediaList *aList) |
bool | IsDrop () const |
Additional Inherited Members | |
Public Types inherited from SyncEnumListenerBase | |
enum | DropAction { NOT_DROP, DROP_TRACKS, DROP_LIST } |
enum | HandleMode { HANDLE_ALL, HANDLE_ITEMS, HANDLE_LISTS } |
enum | ChangeType { CHANGE_NONE, CHANGE_ADD, CHANGE_CLOBBER, CHANGE_RETAIN } |
Protected Attributes inherited from SyncEnumListenerBase | |
PRUint32 | mMediaTypes |
DropAction | mDropAction |
HandleMode | mHandleMode |
nsTHashtable< nsStringHashKey > | mSeenMediaItems |
nsCOMPtr< sbILibrary > | mMainLibrary |
nsCOMPtr< sbILibrary > | mDeviceLibrary |
nsCOMPtr< nsIMutableArray > | mLibraryChanges |
Definition at line 874 of file sbDeviceLibrarySyncDiff.cpp.
|
inline |
Definition at line 878 of file sbDeviceLibrarySyncDiff.cpp.
|
protected |
Definition at line 910 of file sbDeviceLibrarySyncDiff.cpp.
|
protectedvirtual |
Implements SyncEnumListenerBase.
Definition at line 944 of file sbDeviceLibrarySyncDiff.cpp.
|
virtual |
Implements SyncEnumListenerBase.
Definition at line 968 of file sbDeviceLibrarySyncDiff.cpp.
|
virtual |
Implements SyncEnumListenerBase.
Definition at line 1088 of file sbDeviceLibrarySyncDiff.cpp.
|
virtual |
Implements SyncEnumListenerBase.
Definition at line 1036 of file sbDeviceLibrarySyncDiff.cpp.
nsTArray<nsCOMPtr<sbIMediaList> > SyncExportEnumListener::mMixedContentPlaylists |
Definition at line 904 of file sbDeviceLibrarySyncDiff.cpp.