sbSimpleMediaListInsertingEnumerationListener Class Reference

#include <sbLocalDatabaseSimpleMediaList.h>

Inheritance diagram for sbSimpleMediaListInsertingEnumerationListener:
Collaboration diagram for sbSimpleMediaListInsertingEnumerationListener:

Public Member Functions

sbSimpleMediaListInsertingEnumerationListener (sbLocalDatabaseSimpleMediaList *aList, PRUint32 aStartingIndex, const nsAString &aStartingOrdinal, nsISupports *aListener=nsnull)
- Public Member Functions inherited from sbIMediaListEnumerationListener
unsigned short onEnumerationBegin (in sbIMediaList aMediaList)
 Called when enumeration is about to begin. More...
unsigned short onEnumeratedItem (in sbIMediaList aMediaList, in sbIMediaItem aMediaItem)
 Called once for each item in the enumeration. More...
void onEnumerationEnd (in sbIMediaList aMediaList, in nsresult aStatusCode)
 Called when enumeration has completed. More...

Additional Inherited Members

- Public Attributes inherited from sbIMediaListEnumerationListener
const unsigned short CONTINUE = 0
const unsigned short CANCEL = 1

Detailed Description

This enumerator is used to add items to a media list. For each item it determines if the item exists in the media list's library, a copy already exists, or a new item must be created. After the enumeration is complete it then creates any items that need to be created and updates the database so the media list now contains the list of items enumerated.

Definition at line 158 of file sbLocalDatabaseSimpleMediaList.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIALISTENUMERATIONLISTENER sbSimpleMediaListInsertingEnumerationListener::sbSimpleMediaListInsertingEnumerationListener ( sbLocalDatabaseSimpleMediaList aList,
PRUint32  aStartingIndex,
const nsAString &  aStartingOrdinal,
nsISupports aListener = nsnull 

Definition at line 164 of file sbLocalDatabaseSimpleMediaList.h.

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