sbDeviceSupportsItemHelper Class Reference

#include <sbDeviceSupportsItemHelper.h>

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

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< sbIMediaItemmItem
 
nsCOMPtr
< sbIDeviceSupportsItemCallback
mCallback
 
sbBaseDevicemDevice
 
nsCOMPtr< sbIMediaInspectormInspector
 
PRUint32 mTranscodeType
 

Detailed Description

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.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIJOBPROGRESSLISTENER sbDeviceSupportsItemHelper::sbDeviceSupportsItemHelper ( )

Member Function Documentation

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.

Here is the caller graph for this function:

void sbDeviceSupportsItemHelper::RunSupportsMediaItem ( )

Definition at line 148 of file sbDeviceSupportsItemHelper.cpp.

Here is the call graph for this function:

Member Data Documentation

nsCOMPtr<sbIDeviceSupportsItemCallback> sbDeviceSupportsItemHelper::mCallback
protected

Definition at line 68 of file sbDeviceSupportsItemHelper.h.

sbBaseDevice* sbDeviceSupportsItemHelper::mDevice
protected

Definition at line 72 of file sbDeviceSupportsItemHelper.h.

nsCOMPtr<sbIMediaInspector> sbDeviceSupportsItemHelper::mInspector
protected

Definition at line 74 of file sbDeviceSupportsItemHelper.h.

nsCOMPtr<sbIMediaItem> sbDeviceSupportsItemHelper::mItem
protected

Definition at line 67 of file sbDeviceSupportsItemHelper.h.

PRUint32 sbDeviceSupportsItemHelper::mTranscodeType
protected

Definition at line 75 of file sbDeviceSupportsItemHelper.h.


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