#include <sbLocalDatabaseMediaListListener.h>
|
nsresult | Init () |
|
nsresult | AddListener (sbLocalDatabaseMediaListBase *aList, sbIMediaListListener *aListener, PRBool aOwnsWeak=PR_FALSE, PRUint32 aFlags=sbIMediaList::LISTENER_FLAGS_ALL, sbIPropertyArray *aPropertyFilter=nsnull) |
|
nsresult | RemoveListener (sbLocalDatabaseMediaListBase *aList, sbIMediaListListener *aListener) |
|
PRUint32 | ListenerCount () |
|
void | NotifyListenersItemAdded (sbIMediaList *aList, sbIMediaItem *aItem, PRUint32 aIndex) |
| Notifies all listeners that an item has been added to the list. More...
|
|
void | NotifyListenersBeforeItemRemoved (sbIMediaList *aList, sbIMediaItem *aItem, PRUint32 aIndex) |
| Notifies all listeners that an item is about to be removed from the list. More...
|
|
void | NotifyListenersAfterItemRemoved (sbIMediaList *aList, sbIMediaItem *aItem, PRUint32 aIndex) |
| Notifies all listeners that an item has been removed from the list. More...
|
|
void | NotifyListenersItemUpdated (sbIMediaList *aList, sbIMediaItem *aItem, sbIPropertyArray *aProperties) |
| Notifies all listeners that an item has been updated. More...
|
|
void | NotifyListenersItemMoved (sbIMediaList *aList, PRUint32 aFromIndex, PRUint32 aToIndex) |
| Notifies all listeners that an item has been moved. More...
|
|
void | NotifyListenersBeforeListCleared (sbIMediaList *aList, PRBool aExcludeLists) |
| Notifies all listeners before the list has been cleared. More...
|
|
void | NotifyListenersListCleared (sbIMediaList *aList, PRBool aExcludeLists) |
| Notifies all listeners that the list has been cleared. More...
|
|
void | NotifyListenersBatchBegin (sbIMediaList *aList) |
| Notifies all listeners that multiple items are about to be changed. More...
|
|
void | NotifyListenersBatchEnd (sbIMediaList *aList) |
| Notifies all listeners that multiple items have been changed. More...
|
|
sbLocalDatabaseMediaListListener::sbLocalDatabaseMediaListListener |
( |
| ) |
|
sbLocalDatabaseMediaListListener::~sbLocalDatabaseMediaListListener |
( |
| ) |
|
|
virtual |
nsresult sbLocalDatabaseMediaListListener::Init |
( |
| ) |
|
|
protected |
PRUint32 sbLocalDatabaseMediaListListener::ListenerCount |
( |
| ) |
|
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersAfterItemRemoved |
( |
sbIMediaList * |
aList, |
|
|
sbIMediaItem * |
aItem, |
|
|
PRUint32 |
aIndex |
|
) |
| |
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersBatchBegin |
( |
sbIMediaList * |
aList | ) |
|
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersBatchEnd |
( |
sbIMediaList * |
aList | ) |
|
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersBeforeItemRemoved |
( |
sbIMediaList * |
aList, |
|
|
sbIMediaItem * |
aItem, |
|
|
PRUint32 |
aIndex |
|
) |
| |
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersBeforeListCleared |
( |
sbIMediaList * |
aList, |
|
|
PRBool |
aExcludeLists |
|
) |
| |
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersItemAdded |
( |
sbIMediaList * |
aList, |
|
|
sbIMediaItem * |
aItem, |
|
|
PRUint32 |
aIndex |
|
) |
| |
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersItemMoved |
( |
sbIMediaList * |
aList, |
|
|
PRUint32 |
aFromIndex, |
|
|
PRUint32 |
aToIndex |
|
) |
| |
|
protected |
void sbLocalDatabaseMediaListListener::NotifyListenersListCleared |
( |
sbIMediaList * |
aList, |
|
|
PRBool |
aExcludeLists |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files: