sbMediacoreCapabilities Class Reference

#include <sbMediacoreCapabilities.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIACORECAPABILITIES 
sbMediacoreCapabilities ()
 
nsresult Init ()
 
nsresult SetAudioExtensions (const sbStringArray &aAudioExtensions)
 
nsresult SetVideoExtensions (const sbStringArray &aVideoExtensions)
 
nsresult SetImageExtensions (const sbStringArray &aImageExtensions)
 
nsresult SetSupportsAudioPlayback (PRBool aSupportsAudioPlayback)
 
nsresult SetSupportsVideoPlayback (PRBool aSupportsVideoPlayback)
 
nsresult SetSupportsImagePlayback (PRBool aSupportsImagePlayback)
 
nsresult SetSupportsAudioTranscode (PRBool aSupportsAudioTranscode)
 
nsresult SetSupportsVideoTranscode (PRBool aSupportsVideoTranscode)
 
nsresult SetSupportsImageTranscode (PRBool aSupportsImageTranscode)
 

Protected Member Functions

virtual ~sbMediacoreCapabilities ()
 

Protected Attributes

PRLock * mLock
 
PRBool mSupportsAudioPlayback
 
PRBool mSupportsVideoPlayback
 
PRBool mSupportsImagePlayback
 
PRBool mSupportsAudioTranscode
 
PRBool mSupportsVideoTranscode
 
PRBool mSupportsImageTranscode
 
sbStringArray mAudioExtensions
 
sbStringArray mVideoExtensions
 
sbStringArray mImageExtensions
 

Additional Inherited Members

- Public Attributes inherited from sbIMediacoreCapabilities
readonly attribute
nsIStringEnumerator 
audioExtensions
 Audio file extensions (eg. mp3, aac, m4a, ...) More...
 
readonly attribute
nsIStringEnumerator 
videoExtensions
 Video file extensions (eg. avi, mpg, mov, ...) More...
 
readonly attribute
nsIStringEnumerator 
imageExtensions
 Image file extensions (eg. jpg, tiff, png, ...) More...
 
readonly attribute boolean supportsAudioPlayback
 Supports audio playback? More...
 
readonly attribute boolean supportsVideoPlayback
 Supports video playback? More...
 
readonly attribute boolean supportsImagePlayback
 Supports image playback? More...
 
readonly attribute boolean supportsAudioTranscode
 Supports transcoding audio? More...
 
readonly attribute boolean supportsVideoTranscode
 Supports transcoding video? More...
 
readonly attribute boolean supportsImageTranscode
 Supports transcoding images? More...
 

Detailed Description

Definition at line 43 of file sbMediacoreCapabilities.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACORECAPABILITIES sbMediacoreCapabilities::sbMediacoreCapabilities ( )
sbMediacoreCapabilities::~sbMediacoreCapabilities ( )
protectedvirtual

Definition at line 70 of file sbMediacoreCapabilities.cpp.

Member Function Documentation

nsresult sbMediacoreCapabilities::Init ( )

Definition at line 82 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetAudioExtensions ( const sbStringArray &  aAudioExtensions)

Definition at line 93 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetImageExtensions ( const sbStringArray &  aImageExtensions)

Definition at line 121 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsAudioPlayback ( PRBool  aSupportsAudioPlayback)

Definition at line 135 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsAudioTranscode ( PRBool  aSupportsAudioTranscode)

Definition at line 174 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsImagePlayback ( PRBool  aSupportsImagePlayback)

Definition at line 161 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsImageTranscode ( PRBool  aSupportsImageTranscode)

Definition at line 200 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsVideoPlayback ( PRBool  aSupportsVideoPlayback)

Definition at line 148 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetSupportsVideoTranscode ( PRBool  aSupportsVideoTranscode)

Definition at line 187 of file sbMediacoreCapabilities.cpp.

nsresult sbMediacoreCapabilities::SetVideoExtensions ( const sbStringArray &  aVideoExtensions)

Definition at line 107 of file sbMediacoreCapabilities.cpp.

Member Data Documentation

sbStringArray sbMediacoreCapabilities::mAudioExtensions
protected

Definition at line 83 of file sbMediacoreCapabilities.h.

sbStringArray sbMediacoreCapabilities::mImageExtensions
protected

Definition at line 85 of file sbMediacoreCapabilities.h.

PRLock* sbMediacoreCapabilities::mLock
protected

Definition at line 73 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsAudioPlayback
protected

Definition at line 75 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsAudioTranscode
protected

Definition at line 79 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsImagePlayback
protected

Definition at line 77 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsImageTranscode
protected

Definition at line 81 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsVideoPlayback
protected

Definition at line 76 of file sbMediacoreCapabilities.h.

PRBool sbMediacoreCapabilities::mSupportsVideoTranscode
protected

Definition at line 80 of file sbMediacoreCapabilities.h.

sbStringArray sbMediacoreCapabilities::mVideoExtensions
protected

Definition at line 84 of file sbMediacoreCapabilities.h.


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