|
NS_DECL_ISUPPORTS
NS_DECL_SBIDEVICELIBRARYLISTENER | sbBaseDeviceLibraryListener () |
|
virtual | ~sbBaseDeviceLibraryListener () |
|
nsresult | Init (sbBaseDevice *aDevice) |
|
void | Destroy () |
|
void | onBatchBegin (in sbIMediaList aMediaList) |
| Called when the library is about to perform multiple operations at once. More...
|
|
void | onBatchEnd (in sbIMediaList aMediaList) |
| Called when the library has finished performing multiple operations at once. More...
|
|
boolean | onItemAdded (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called when a media item is added to a list, through add or addAll. More...
|
|
boolean | onBeforeItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called before a media item is removed from a list, through remove, removeAll or removeByIndex. More...
|
|
boolean | onAfterItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called after a media item has been removed from a list, through remove, removeAll or removeByIndex. More...
|
|
boolean | onBeforeListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
|
boolean | onListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
|
boolean | onItemUpdated (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in sbIPropertyArray aProperties) |
| Called when a media item is changed. More...
|
|
boolean | onItemMoved (in sbIMediaList aMediaList, in unsigned long aFromIndex, in unsigned long aToIndex) |
| Called when a media item is moved. More...
|
|
void | onItemCopied (in sbIMediaItem aSourceItem, in sbIMediaItem aDestItem) |
| Called when a media item has been copied. More...
|
|
boolean | onBeforeCreateMediaItem (in nsIURI aContentUri, [optional] in sbIPropertyArray aProperties, [optional] in boolean aAllowDuplicates) |
| Called before a media item is going to be created. More...
|
|
boolean | onBeforeCreateMediaList (in AString aType, [optional] in sbIPropertyArray aProperties) |
| Called before a media list is going to be created. More...
|
|
boolean | onBeforeAdd (in sbIMediaItem aMediaItem) |
| Called before an item is added. More...
|
|
boolean | onBeforeAddAll (in sbIMediaList aMediaList) |
| Called before all item from a list are added. More...
|
|
boolean | onBeforeAddSome (in nsISimpleEnumerator aMediaItems) |
| Called before some items are added. More...
|
|
boolean | onBeforeClear () |
| Called before the device is cleared. More...
|
|
| sbSupportsWeakReference () |
|
nsresult | SetIgnoreListener (PRBool aIgnoreListener) |
|
nsresult | IgnoreMediaItem (sbIMediaItem *aItem) |
|
nsresult | UnignoreMediaItem (sbIMediaItem *aItem) |
|
Definition at line 90 of file sbLibraryListenerHelpers.h.