sbMediaItemWatcher Class Reference

#include <sbMediaItemWatcher.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIAITEMWATCHER
NS_DECL_SBIMEDIALISTLISTENER 
sbMediaItemWatcher ()
 
virtual ~sbMediaItemWatcher ()
 
- Public Member Functions inherited from sbIMediaItemWatcher
void watch (in sbIMediaItem aMediaItem, in sbIMediaItemListener aListener, [optional] in sbIPropertyArray aPropertyIDs)
 Watch for changes to the media item specified by aMediaItem and call the listener specified by aListener when any changes occur. If aPropertyIDs is specified, only watch for changes to the specified properties. More...
 
void cancel ()
 Cancel watcher. More...
 
- 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...
 

Detailed Description

This class implements the media item watcher component.

Definition at line 92 of file sbMediaItemWatcher.h.

Constructor & Destructor Documentation

sbMediaItemWatcher::sbMediaItemWatcher ( )

Construct a media item watcher instance.

Definition at line 470 of file sbMediaItemWatcher.cpp.

sbMediaItemWatcher::~sbMediaItemWatcher ( )
virtual

Destroy a media item watcher instance.

Definition at line 482 of file sbMediaItemWatcher.cpp.


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