25 #include "nsISupports.idl"
27 #include "nsIProgressEventSink.idl"
28 #include "nsIPrompt.idl"
29 #include "nsIAuthPrompt.idl"
38 [scriptable,
uuid(69140b92-1dd2-11b2-8028-8e852c70b55a)]
47 [scriptable,
uuid(9e64107d-74ef-4e62-9d5c-a639c2a9bbe6)]
58 void write(in nsIFile aFile,
60 in AString aContentType,
86 [
array, size_is (aMIMECount), retval] out wstring aMIMETypes);
95 [
array, size_is (aExtCount), retval] out wstring aExts);
104 [scriptable,
uuid(ee2dabc8-0158-49d4-bda9-9ebb2cf20ab8)]
112 void write(in nsIFile aFile,
114 in AString aContentType,
124 [
array, size_is (aMIMECount), retval] out wstring aMIMETypes);
133 [
array, size_is (aExtCount), retval] out wstring aExts);
void write(in nsIFile aFile, in sbIMediaList aMediaList, in AString aContentType, [optional] in sbIPlaylistFormatType aPlaylistFormatType)
AString description()
A description of the type of playlists it outputs.
void supportedMIMETypes(out PRUint32 aMIMECount, [array, size_is(aMIMECount), retval] out wstring aMIMETypes)
attribute sbIPlaylistWriterListener writerListener
void supportedFileExtensions(out PRUint32 aExtCount, [array, size_is(aExtCount), retval] out wstring aExts)
File extensions recognized by this writer.
Write a file using an appropriate registered playlist writer. Playlist writers are registered by addi...
AString name()
A name for this playlist writer.
void supportedMIMETypes(out PRUint32 aMIMECount, [array, size_is(aMIMECount), retval] out wstring aMIMETypes)
Mimetypes recognized by this writer.
void supportedFileExtensions(out PRUint32 aExtCount, [array, size_is(aExtCount), retval] out wstring aExts)
void write(in nsIFile aFile, in sbIMediaList aMediaList, in AString aContentType, [optional] in sbIPlaylistFormatType aPlaylistFormatType)
The function which actually outputs the file.
Implements playlist writing logic for a particular format.