|
| SyncEnumListenerBase () |
|
virtual nsresult | Init (DropAction aDropAction, sbILibrary *aMainLibrary, sbILibrary *aDeviceLibrary) |
|
virtual nsresult | ProcessItem (sbIMediaList *aMediaList, sbIMediaItem *aMediaItem)=0 |
|
virtual nsresult | SelectChangeForItem (sbIMediaItem *aMediaItem, ChangeType *aChangeType, sbIMediaItem **aDestMediaItem)=0 |
|
virtual nsresult | SelectChangeForList (sbIMediaList *aMediaList, ChangeType *aChangeType, sbIMediaList **aDestMediaList)=0 |
|
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 () |
|
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...
|
|
Definition at line 81 of file sbDeviceLibrarySyncDiff.cpp.
SyncEnumListenerBase::SyncEnumListenerBase |
( |
| ) |
|
|
inline |
virtual SyncEnumListenerBase::~SyncEnumListenerBase |
( |
| ) |
|
|
inlineprotectedvirtual |
nsresult SyncEnumListenerBase::AddChange |
( |
PRUint32 |
aChangeType, |
|
|
sbIMediaItem * |
aSrcItem, |
|
|
sbIMediaItem * |
aDstItem, |
|
|
nsIArray * |
aListItems = NULL |
|
) |
| |
nsresult SyncEnumListenerBase::CreatePropertyChangesForItemAdded |
( |
sbIMediaItem * |
aSourceItem, |
|
|
nsIArray ** |
aPropertyChanges |
|
) |
| |
|
protected |
nsresult SyncEnumListenerBase::CreatePropertyChangesForItemModified |
( |
sbIMediaItem * |
aSourceItem, |
|
|
sbIMediaItem * |
aDestinationItem, |
|
|
nsIArray ** |
aPropertyChanges |
|
) |
| |
|
protected |
nsresult SyncEnumListenerBase::Finish |
( |
| ) |
|
nsresult SyncEnumListenerBase::GetTimeProperty |
( |
sbIMediaItem * |
aMediaItem, |
|
|
nsString |
aPropertyName, |
|
|
PRInt64 * |
_result |
|
) |
| |
|
protected |
bool SyncEnumListenerBase::HasCorrectContentType |
( |
sbIMediaItem * |
aItem | ) |
|
|
protected |
bool SyncEnumListenerBase::IsDrop |
( |
| ) |
const |
|
inlineprotected |
bool SyncEnumListenerBase::ListHasCorrectContentType |
( |
sbIMediaList * |
aList | ) |
|
|
protected |
bool SyncEnumListenerBase::ListIsMixed |
( |
sbIMediaList * |
aList | ) |
|
|
protected |
void SyncEnumListenerBase::SetHandleMode |
( |
HandleMode |
aMode | ) |
|
|
inline |
void SyncEnumListenerBase::SetMediaTypes |
( |
PRUint32 |
aMediaTypes | ) |
|
|
inline |
nsRefPtr<sbLibraryChangeset> SyncEnumListenerBase::mChangeset |
nsCOMPtr<sbILibrary> SyncEnumListenerBase::mDeviceLibrary |
|
protected |
nsCOMPtr<nsIMutableArray> SyncEnumListenerBase::mLibraryChanges |
|
protected |
nsCOMPtr<sbILibrary> SyncEnumListenerBase::mMainLibrary |
|
protected |
PRUint32 SyncEnumListenerBase::mMediaTypes |
|
protected |
nsTHashtable<nsStringHashKey> SyncEnumListenerBase::mSeenMediaItems |
|
protected |
The documentation for this class was generated from the following file: