00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "nsISupports.idl"
00028
00029 #include "nsIProgressEventSink.idl"
00030 #include "nsIPrompt.idl"
00031 #include "nsIAuthPrompt.idl"
00032
00033 [scriptable, uuid(3FE9E285-F0F8-4154-9C21-8B6E4B8EFA93)]
00034 interface sbIPlaylistWriterListener : nsIProgressEventSink
00035 {
00036 };
00037
00038 [scriptable, uuid(27B68B9B-E471-4367-B159-63B65C581847)]
00039 interface sbIPlaylistWriter : nsISupports
00040 {
00047 PRBool write(in AString aGUID,
00048 in AString aDestTable,
00049 in PRBool aReplace,
00050 out PRInt32 aErrorCode);
00051
00058 PRInt32 vote(in AString aURL);
00059
00066 AString name();
00067
00074 AString description();
00075
00082 void supportedMIMETypes(out PRUint32 aMIMECount,
00083 [array, size_is (aMIMECount), retval] out wstring aMIMETypes);
00084
00091 void supportedFileExtensions(out PRUint32 aExtCount,
00092 [array, size_is (aExtCount), retval] out wstring aExts);
00093 };
00094
00101 [scriptable, uuid(CB6A505E-D8CB-4711-A50F-38439561C6D0)]
00102 interface sbIPlaylistWriterManager : nsISupports
00103 {
00110 PRInt32 write(in AString aGUID,
00111 in AString aName,
00112 in AString aOutputContentType,
00113 in sbIPlaylistWriterListener aWriterListener);
00114
00121 void supportedMIMETypes(out PRUint32 aMIMECount,
00122 [array, size_is (aMIMECount), retval] out wstring aMIMETypes);
00123
00130 void supportedFileExtensions(out PRUint32 aExtCount,
00131 [array, size_is (aExtCount), retval] out wstring aExts);
00132 };