#include <MetadataHandlerTaglib.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIMETADATAHANDLER NS_DECL_SBISEEKABLECHANNELLISTENER | sbMetadataHandlerTaglib () |
virtual | ~sbMetadataHandlerTaglib () |
nsresult | Init () |
NS_IMETHOD | Notify (const char *aCharset, nsDetectionConfident aConf) |
Public Member Functions inherited from sbIMetadataHandler | |
PRInt32 | vote (in AString aUrl) |
Vote to be the handler returned for the given url. More... | |
PRInt32 | read () |
Start the read operation. More... | |
PRInt32 | write () |
Start the write operation. More... | |
void | getImageData (in PRInt32 aType, out AUTF8String aMimeType, out unsigned long aDataLen, [array, retval, size_is(aDataLen)] out octet aData) |
void | setImageData (in PRInt32 aType, in AString aUrl) |
void | onChannelData (in nsISupports aChannel) |
Be thou informst that one's sbIMetadataChannel has just received data. More... | |
void | close () |
Close down the internals of the handler, stop any asynchronous operations, free any allocations. More... | |
Public Member Functions inherited from sbISeekableChannelListener | |
void | onChannelDataAvailable (in sbISeekableChannel aChannel) |
Be thou informst that one's sbISeekableChannel has just received data. More... | |
Static Public Member Functions | |
static nsresult | ModuleConstructor (nsIModule *aSelf) |
static void | ModuleDestructor (nsIModule *aSelf) |
Additional Inherited Members | |
Public Attributes inherited from sbIMetadataHandler | |
const PRUint32 | METADATA_IMAGE_TYPE_OTHER = 0x00 |
Constant for the type of image in the metadata, these are pulled from the taglib/attachedpictureframe.h. More... | |
const PRUint32 | METADATA_IMAGE_TYPE_FILEICON = 0x01 |
const PRUint32 | METADATA_IMAGE_TYPE_OTHERFILEICON = 0x02 |
const PRUint32 | METADATA_IMAGE_TYPE_FRONTCOVER = 0x03 |
const PRUint32 | METADATA_IMAGE_TYPE_BACKCOVER = 0x04 |
const PRUint32 | METADATA_IMAGE_TYPE_LEAFLETPAGE = 0x05 |
const PRUint32 | METADATA_IMAGE_TYPE_MEDIA = 0x06 |
const PRUint32 | METADATA_IMAGE_TYPE_LEADARTIST = 0x07 |
const PRUint32 | METADATA_IMAGE_TYPE_ARTIST = 0x08 |
const PRUint32 | METADATA_IMAGE_TYPE_CONDUCTOR = 0x09 |
const PRUint32 | METADATA_IMAGE_TYPE_BAND = 0x0A |
const PRUint32 | METADATA_IMAGE_TYPE_COMPOSER = 0x0B |
const PRUint32 | METADATA_IMAGE_TYPE_LYRICIST = 0x0C |
const PRUint32 | METADATA_IMAGE_TYPE_RECORDINGLOCATION = 0x0D |
const PRUint32 | METADATA_IMAGE_TYPE_DURINGRECORDING = 0x0E |
const PRUint32 | METADATA_IMAGE_TYPE_DURINGPERFORMANCE = 0x0F |
const PRUint32 | METADATA_IMAGE_TYPE_MOVIESCREENCAPTURE = 0x10 |
const PRUint32 | METADATA_IMAGE_TYPE_COLOUREDFISH = 0x11 |
const PRUint32 | METADATA_IMAGE_TYPE_ILLUSTRATION = 0x12 |
const PRUint32 | METADATA_IMAGE_TYPE_BANDLOGO = 0x13 |
const PRUint32 | METADATA_IMAGE_TYPE_PUBLISHERLOGO = 0x14 |
readonly attribute ACString | contractID |
The Contract ID for the metadata handler. More... | |
attribute sbIMutablePropertyArray | props |
An array of metadata properties. More... | |
readonly attribute PRBool | completed |
Whether or not the object has completed its read/write operation. More... | |
readonly attribute PRBool | requiresMainThread |
Whether or not this handler MUST be run on the main thread. More... | |
attribute nsIChannel | channel |
The object's nsIChannel. More... | |
Definition at line 116 of file MetadataHandlerTaglib.h.
sbMetadataHandlerTaglib::sbMetadataHandlerTaglib | ( | ) |
Definition at line 1935 of file MetadataHandlerTaglib.cpp.
|
virtual |
Definition at line 1956 of file MetadataHandlerTaglib.cpp.
nsresult sbMetadataHandlerTaglib::Init | ( | ) |
Definition at line 1970 of file MetadataHandlerTaglib.cpp.
|
static |
Definition at line 1996 of file MetadataHandlerTaglib.cpp.
|
static |
Definition at line 2006 of file MetadataHandlerTaglib.cpp.
NS_IMETHODIMP sbMetadataHandlerTaglib::Notify | ( | const char * | aCharset, |
nsDetectionConfident | aConf | ||
) |
Definition at line 2582 of file MetadataHandlerTaglib.cpp.