|
NS_DECL_ISUPPORTS
NS_DECL_SBIPLAYQUEUESERVICE
NS_DECL_SBIMEDIALISTLISTENER
NS_DECL_SBIMEDIACOREEVENTLISTENER
NS_DECL_SBILOCALDATABASELIBRARYCOPYLISTENER
NS_DECL_NSIOBSERVER | sbPlayQueueService () |
|
virtual | ~sbPlayQueueService () |
|
nsresult | Init () |
|
void | SetIgnoreListListener (PRBool aIgnore) |
|
void | queueNext (in sbIMediaItem aMediaItem) |
| Adds a media item to the next slot in the Play Queue. More...
|
|
void | queueLast (in sbIMediaItem aMediaItem) |
| Adds a media item to the end of the Play Queue. More...
|
|
void | queueSomeBefore (in unsigned long aIndex, in nsISimpleEnumerator aMediaItems) |
| Adds an enumerator of media items before the slot specified by aIndex in the Play Queue asynchronously. Items are not actually in the queue until the onQueueOperationCompleted notification is sent, and callers should not attempt to add or remove items from the queue while the operation is in progress. More...
|
|
void | queueSomeNext (in nsISimpleEnumerator aMediaItems) |
| Adds an enumerator of media items to the next slot in the Play Queue asynchronously. Items are not actually in the queue until the onQueueOperationCompleted notification is sent, and callers should not attempt to add or remove items from the queue while the operation is in progress. More...
|
|
void | queueSomeLast (in nsISimpleEnumerator aMediaItems) |
| Adds an enumerator of media items to the end of the Play Queue asynchronously. Items are not actually in the queue until the onQueueOperationCompleted notification is sent, and callers should not attempt to add or remove items from the queue while the operation is in progress. More...
|
|
void | clearHistory () |
| Clear the Play Queue's history. More...
|
|
void | clearAll () |
| Clear the Play Queue's contents. More...
|
|
void | addListener (in sbIPlayQueueServiceListener aListener) |
| Add a listener for the service. More...
|
|
void | removeListener (in sbIPlayQueueServiceListener aListener) |
| Remove a listener for the service. More...
|
|
boolean | onItemAdded (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called when a media item is added to the list. More...
|
|
boolean | onBeforeItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called before a media item is removed from the list. More...
|
|
boolean | onAfterItemRemoved (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem, in unsigned long aIndex) |
| Called after a media item is removed from the list. More...
|
|
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...
|
|
boolean | onBeforeListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
|
boolean | onListCleared (in sbIMediaList aMediaList, in boolean aExcludeLists) |
|
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...
|
|
void | onMediacoreEvent (in sbIMediacoreEvent aEvent) |
|
void | onItemCopied (in sbIMediaItem aSourceItem, in sbIMediaItem aDestinationItem) |
|
Definition at line 60 of file sbPlayQueueService.h.