#include <sbDeviceSupportsItemHelper.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIJOBPROGRESSLISTENER | sbDeviceSupportsItemHelper () |
nsresult | Init (sbIMediaItem *aItem, sbBaseDevice *aDevice, sbIDeviceSupportsItemCallback *aCallback) |
void | RunSupportsMediaItem () |
nsresult | InitJobProgress (sbIMediaInspector *aInspector, PRUint32 aTranscodeType) |
Public Member Functions inherited from sbIJobProgressListener | |
void | onJobProgress (in sbIJobProgress aJobProgress) |
Notification that an object implementing sbIJobProgress has changed. More... | |
Protected Attributes | |
nsCOMPtr< sbIMediaItem > | mItem |
nsCOMPtr < sbIDeviceSupportsItemCallback > | mCallback |
sbBaseDevice * | mDevice |
nsCOMPtr< sbIMediaInspector > | mInspector |
PRUint32 | mTranscodeType |
Helper class for sbBaseDevice to implement sbIDevice::supportsMediaItem
This is the job progress listener code, split out so that sbBaseDevice does not have to itself implement the interface, as that may interfere with derived classes wishing to do so for other purposes.
Definition at line 46 of file sbDeviceSupportsItemHelper.h.
NS_DECL_ISUPPORTS NS_DECL_SBIJOBPROGRESSLISTENER sbDeviceSupportsItemHelper::sbDeviceSupportsItemHelper | ( | ) |
nsresult sbDeviceSupportsItemHelper::Init | ( | sbIMediaItem * | aItem, |
sbBaseDevice * | aDevice, | ||
sbIDeviceSupportsItemCallback * | aCallback | ||
) |
Definition at line 113 of file sbDeviceSupportsItemHelper.cpp.
nsresult sbDeviceSupportsItemHelper::InitJobProgress | ( | sbIMediaInspector * | aInspector, |
PRUint32 | aTranscodeType | ||
) |
Definition at line 130 of file sbDeviceSupportsItemHelper.cpp.
void sbDeviceSupportsItemHelper::RunSupportsMediaItem | ( | ) |
Definition at line 148 of file sbDeviceSupportsItemHelper.cpp.
|
protected |
Definition at line 68 of file sbDeviceSupportsItemHelper.h.
|
protected |
Definition at line 72 of file sbDeviceSupportsItemHelper.h.
|
protected |
Definition at line 74 of file sbDeviceSupportsItemHelper.h.
|
protected |
Definition at line 67 of file sbDeviceSupportsItemHelper.h.
|
protected |
Definition at line 75 of file sbDeviceSupportsItemHelper.h.