sbIPlaylistWriter Interface Reference

Write a playlist file. More...

import"sbIPlaylistWriter.idl";

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

Public Member Functions

void write (in nsIFile aFile, in sbIMediaList aMediaList, in AString aContentType, [optional] in sbIPlaylistFormatType aPlaylistFormatType)
 The function which actually outputs the file. More...
 
AString name ()
 A name for this playlist writer. More...
 
AString description ()
 A description of the type of playlists it outputs. More...
 
void supportedMIMETypes (out PRUint32 aMIMECount, [array, size_is(aMIMECount), retval] out wstring aMIMETypes)
 Mimetypes recognized by this writer. More...
 
void supportedFileExtensions (out PRUint32 aExtCount, [array, size_is(aExtCount), retval] out wstring aExts)
 File extensions recognized by this writer. More...
 

Public Attributes

attribute sbIPlaylistWriterListener writerListener
 

Detailed Description

Write a playlist file.

Definition at line 48 of file sbIPlaylistWriter.idl.

Member Function Documentation

AString sbIPlaylistWriter::description ( )

A description of the type of playlists it outputs.

Parameters
\sasbIDatabaseQuery
AString sbIPlaylistWriter::name ( )

A name for this playlist writer.

Parameters
\sasbIDatabaseQuery
void sbIPlaylistWriter::supportedFileExtensions ( out PRUint32  aExtCount,
[array, size_is(aExtCount), retval] out wstring  aExts 
)

File extensions recognized by this writer.

Parameters
\sasbIDatabaseQuery
void sbIPlaylistWriter::supportedMIMETypes ( out PRUint32  aMIMECount,
[array, size_is(aMIMECount), retval] out wstring  aMIMETypes 
)

Mimetypes recognized by this writer.

Parameters
\sasbIDatabaseQuery
void sbIPlaylistWriter::write ( in nsIFile  aFile,
in sbIMediaList  aMediaList,
in AString  aContentType,
[optional] in sbIPlaylistFormatType  aPlaylistFormatType 
)

The function which actually outputs the file.

Parameters
\sasbIDatabaseQuery

Member Data Documentation

attribute sbIPlaylistWriterListener sbIPlaylistWriter::writerListener

Definition at line 50 of file sbIPlaylistWriter.idl.


The documentation for this interface was generated from the following file: