25 #include "nsISupports.idl"
38 [scriptable,
uuid(ec133090-2fde-11df-9aae-0800200c9a66)]
91 [optional] in AString aType);
101 [optional] in AString aType);
109 [scriptable,
uuid(4817835e-1dd2-11b2-ab1e-81bb1e02f99b)]
145 [scriptable,
function,
uuid(802efbaa-1dd2-11b2-96d5-b6792a2b14bf)]
sbIMediaPageInfo registerPage(in AString aName, in AString aURL, in AString aIcon, in sbIMediaListMatch aMatch)
Register a medialist page.
This interface is used to describe a medialist page.
sbIMediaPageInfo getPage(in sbIMediaList aList, [optional] in sbILibraryConstraint aConstraint, [optional] in AString aType)
Get the active page for a medialist.
readonly attribute AString contentTitle
The localized name of the page.
readonly attribute AString contentIcon
The chrome URL to the icon representing the page.
nsISimpleEnumerator getAvailablePages([optional] in sbIMediaList aList, [optional] in sbILibraryConstraint aConstraint)
Get the list of available pages. The list parameter is optional, if not specified, the entire list of registered pages is returned.
void setPage(in sbIMediaList aList, in sbIMediaPageInfo aPageInfo, [optional] in AString aType)
Set the active page for a medialist.
The medialist page manager, used to register, unregister, enumerate, set and retrieve page/medialists...
void unregisterPage(in sbIMediaPageInfo aPageInfo)
Unregister a medialist page.
readonly attribute AString contentUrl
The chrome URL to the page. Must be unique.
readonly attribute sbIMediaListMatch matchInterface
The interface used to match medialists.