#include <DeviceBase.h>
|
NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIALISTLISTENER | sbDeviceBaseLibraryListener () |
|
virtual | ~sbDeviceBaseLibraryListener () |
|
nsresult | Init (const nsAString &aDeviceIdentifier, sbIDeviceBase *aDevice) |
|
nsresult | SetIgnoreListener (PRBool aIgnoreListener) |
|
nsresult | SetManagePlaylists (PRBool aManagePlaylists) |
|
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...
|
|
|
static PLDHashOperator PR_CALLBACK | ShiftIndexesCallback (nsISupportsHashKey::KeyType aKey, PRUint32 &aEntry, void *aUserData) |
|
Definition at line 82 of file DeviceBase.h.
sbDeviceBaseLibraryListener::sbDeviceBaseLibraryListener |
( |
| ) |
|
sbDeviceBaseLibraryListener::~sbDeviceBaseLibraryListener |
( |
| ) |
|
|
virtual |
nsresult sbDeviceBaseLibraryListener::Init |
( |
const nsAString & |
aDeviceIdentifier, |
|
|
sbIDeviceBase * |
aDevice |
|
) |
| |
nsresult sbDeviceBaseLibraryListener::SetIgnoreListener |
( |
PRBool |
aIgnoreListener | ) |
|
nsresult sbDeviceBaseLibraryListener::SetManagePlaylists |
( |
PRBool |
aManagePlaylists | ) |
|
PLDHashOperator PR_CALLBACK sbDeviceBaseLibraryListener::ShiftIndexesCallback |
( |
nsISupportsHashKey::KeyType |
aKey, |
|
|
PRUint32 & |
aEntry, |
|
|
void * |
aUserData |
|
) |
| |
|
staticprotected |
nsClassHashtable<nsISupportsHashKey, sbRemovedItemIndexes> sbDeviceBaseLibraryListener::mBeforeRemoveIndexes |
|
protected |
nsString sbDeviceBaseLibraryListener::mDeviceIdentifier |
|
protected |
PRBool sbDeviceBaseLibraryListener::mIgnoreListener |
|
protected |
PRBool sbDeviceBaseLibraryListener::mManagePlaylists |
|
protected |
The documentation for this class was generated from the following files:
- /home/martin/dev/nightingale-hacking/components/devicesobsolete/base/src/DeviceBase.h
- /home/martin/dev/nightingale-hacking/components/devicesobsolete/base/src/DeviceBase.cpp