sbBaseDeviceMediaListListener Class Reference

#include <sbLibraryListenerHelpers.h>

Inheritance diagram for sbBaseDeviceMediaListListener:
[legend]
Collaboration diagram for sbBaseDeviceMediaListListener:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIALISTLISTENER 
sbBaseDeviceMediaListListener ()
 
nsresult Init (sbBaseDevice *aDevice)
 
- Public Member Functions inherited from sbIMediaListListener
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...
 
- Public Member Functions inherited from sbBaseIgnore
nsresult SetIgnoreListener (PRBool aIgnoreListener)
 
nsresult IgnoreMediaItem (sbIMediaItem *aItem)
 
nsresult UnignoreMediaItem (sbIMediaItem *aItem)
 

Protected Member Functions

virtual ~sbBaseDeviceMediaListListener ()
 
- Protected Member Functions inherited from sbBaseIgnore
PRBool MediaItemIgnored (sbIMediaItem *aItem)
 
 sbBaseIgnore ()
 
 ~sbBaseIgnore ()
 

Protected Attributes

sbBaseDevicemDevice
 

Detailed Description

Definition at line 127 of file sbLibraryListenerHelpers.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIALISTLISTENER sbBaseDeviceMediaListListener::sbBaseDeviceMediaListListener ( )
sbBaseDeviceMediaListListener::~sbBaseDeviceMediaListListener ( )
protectedvirtual

Definition at line 661 of file sbLibraryListenerHelpers.cpp.

Member Function Documentation

nsresult sbBaseDeviceMediaListListener::Init ( sbBaseDevice aDevice)

Definition at line 667 of file sbLibraryListenerHelpers.cpp.

Member Data Documentation

sbBaseDevice* sbBaseDeviceMediaListListener::mDevice
protected

Definition at line 142 of file sbLibraryListenerHelpers.h.


The documentation for this class was generated from the following files: