Songbird / Development / Songbird Add-Ons API Documentation

components/mediacore/base/public/sbIMediacoreTypeSniffer.idl

00001 
00027 #include "nsISupports.idl"
00028 
00029 interface nsIURI;
00030 interface nsIStringEnumerator;
00031 
00032 [scriptable, uuid(413f558f-b580-431b-98c2-7b18fd0e1e0f)]
00033 interface sbIMediacoreTypeSniffer : nsISupports
00034 {
00038   readonly attribute nsIStringEnumerator audioFileExtensions;
00039 
00043   readonly attribute nsIStringEnumerator videoFileExtensions;
00044 
00048   readonly attribute nsIStringEnumerator playlistFileExtensions;
00049 
00054   readonly attribute nsIStringEnumerator mediaFileExtensions;
00055 
00065   boolean isValidMediaURL(in nsIURI aURL);
00066  
00076   boolean isValidVideoURL(in nsIURI aURL);
00077  
00087   boolean isValidPlaylistURL(in nsIURI aURL);
00088 
00095   boolean isValidWebSafePlaylistURL(in nsIURI aURL);
00096 };
00097 
00098 %{C++
00099 
00100 #define SB_MEDIACORETYPESNIFFER_DESCRIPTION         \
00101   "Songbird Mediacore Type Sniffer"
00102 #define SB_MEDIACORETYPESNIFFER_CONTRACTID          \
00103   "@songbirdnest.com/Songbird/Mediacore/TypeSniffer;1"
00104 #define SB_MEDIACORETYPESNIFFER_CLASSNAME           \
00105   "sbMediacoreTypeSniffer"
00106 #define SB_MEDIACORETYPESNIFFER_CID                 \
00107 { /* {eba99588-f058-4b6e-9706-9f9bb293dac0} */      \
00108   0xeba99588,                                       \
00109   0xf058,                                           \
00110   0x4b6e,                                           \
00111   { 0x97, 0x6, 0x9f, 0x9b, 0xb2, 0x93, 0xda, 0xc0 } \
00112 }
00113 
00114 %}

Generated on Tue Mar 10 14:28:55 2009 for Songbird by  doxygen 1.5.2