#include <sbMediaListEnumSingleItemHelper.h>
Public Member Functions | |
already_AddRefed< sbIMediaItem > | GetItem () |
already_AddRefed< sbIMediaList > | GetList () |
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... | |
Static Public Member Functions | |
static sbMediaListEnumSingleItemHelper * | New () |
Protected Attributes | |
nsCOMPtr< sbIMediaItem > | mItem |
nsCOMPtr< sbIMediaList > | mList |
Additional Inherited Members | |
Public Attributes inherited from sbIMediaListEnumerationListener | |
const unsigned short | CONTINUE = 0 |
const unsigned short | CANCEL = 1 |
Helper class to fetch the first item (if any) of a list enumeration
Definition at line 41 of file sbMediaListEnumSingleItemHelper.h.
already_AddRefed< sbIMediaItem > sbMediaListEnumSingleItemHelper::GetItem | ( | ) |
Definition at line 51 of file sbMediaListEnumSingleItemHelper.cpp.
already_AddRefed< sbIMediaList > sbMediaListEnumSingleItemHelper::GetList | ( | ) |
Definition at line 56 of file sbMediaListEnumSingleItemHelper.cpp.
|
static |
|
protected |
Definition at line 58 of file sbMediaListEnumSingleItemHelper.h.
|
protected |
Definition at line 59 of file sbMediaListEnumSingleItemHelper.h.