sbMediacoreTypeSniffer Class Reference

#include <sbMediacoreTypeSniffer.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIACORETYPESNIFFER 
sbMediacoreTypeSniffer ()
 
nsresult Init ()
 
- Public Member Functions inherited from sbIMediacoreTypeSniffer
boolean isValidMediaURL (in nsIURI aURL)
 Check to see if an url points to media content This checks for a number of known file extensions and prefixes to see if the URL contains them and is therefore media. More...
 
boolean isValidAudioURL (in nsIURI aURL)
 Check to see if an url points to audio content This checks for a number of known file extensions to see if the URL contains them and is therefore audio. More...
 
boolean isValidVideoURL (in nsIURI aURL)
 Check to see if an url points to video content This checks for a number of known file extensions to see if the URL contains them and is therefore video. More...
 
boolean isValidImageURL (in nsIURI aURL)
 Check to see if an url points to image content This checks for a number of known file extensions to see if the URL contains them and is therefore image. More...
 
boolean isValidPlaylistURL (in nsIURI aURL)
 Check to see if an url points to a playlist This checks for a number of known file extensions to see if the URL contains them and is therefore a playlist. More...
 
boolean isValidWebSafePlaylistURL (in nsIURI aURL)
 Check to see if an url points to a playlist. More...
 

Protected Attributes

PRMonitor * mMonitor
 
nsCOMPtr
< sbIMediacoreFactoryRegistrar
mFactoryRegistrar
 
nsTHashtable< nsCStringHashKey > mAudioExtensions
 
nsTHashtable< nsCStringHashKey > mVideoExtensions
 
nsTHashtable< nsCStringHashKey > mImageExtensions
 
nsTHashtable< nsCStringHashKey > mPlaylistExtensions
 
nsTHashtable< nsCStringHashKey > mBannedWebExtensions
 
nsTHashtable< nsCStringHashKey > mAllExtensions
 

Additional Inherited Members

- Public Attributes inherited from sbIMediacoreTypeSniffer
readonly attribute
nsIStringEnumerator 
audioFileExtensions
 Returns all audio file extensions. More...
 
readonly attribute
nsIStringEnumerator 
videoFileExtensions
 Returns all video file extensions. More...
 
readonly attribute
nsIStringEnumerator 
playlistFileExtensions
 Returns all playlist file extensions. More...
 
readonly attribute
nsIStringEnumerator 
imageFileExtensions
 Returns all image file extensions. More...
 
readonly attribute
nsIStringEnumerator 
mediaFileExtensions
 Returns all media file extensions. Media file extensions are a combination of audio, video file extensions. More...
 
readonly attribute
nsIStringEnumerator 
unsupportedVideoFileExtensions
 Returns all of the unsupported video file extensions for the mediacore. More...
 

Detailed Description

Definition at line 40 of file sbMediacoreTypeSniffer.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACORETYPESNIFFER sbMediacoreTypeSniffer::sbMediacoreTypeSniffer ( )

Member Function Documentation

nsresult sbMediacoreTypeSniffer::Init ( )

Definition at line 67 of file sbMediacoreTypeSniffer.cpp.

Here is the call graph for this function:

Member Data Documentation

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mAllExtensions
protected

Definition at line 67 of file sbMediacoreTypeSniffer.h.

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mAudioExtensions
protected

Definition at line 61 of file sbMediacoreTypeSniffer.h.

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mBannedWebExtensions
protected

Definition at line 65 of file sbMediacoreTypeSniffer.h.

nsCOMPtr<sbIMediacoreFactoryRegistrar> sbMediacoreTypeSniffer::mFactoryRegistrar
protected

Definition at line 59 of file sbMediacoreTypeSniffer.h.

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mImageExtensions
protected

Definition at line 63 of file sbMediacoreTypeSniffer.h.

PRMonitor* sbMediacoreTypeSniffer::mMonitor
protected

Definition at line 57 of file sbMediacoreTypeSniffer.h.

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mPlaylistExtensions
protected

Definition at line 64 of file sbMediacoreTypeSniffer.h.

nsTHashtable<nsCStringHashKey> sbMediacoreTypeSniffer::mVideoExtensions
protected

Definition at line 62 of file sbMediacoreTypeSniffer.h.


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