27 #include "nsISupports.idl"
39 interface nsIDOMDocument;
49 [scriptable,
uuid(656eda3e-aeff-11db-96e1-005056c00008)]
void retrieveLocalBundleData()
Download the bundle data synchronously from a local file.
Songbird Bundle Data Listener Interface.
readonly attribute boolean restartRequired
Gets the flag indicating that a restart is needed This method gets the flag indicating whether a rest...
void removeExtension(in long aIndex)
Remove an extension from the bundle extension list.
attribute AString bundleURL
Bundle URL Sets the bundle URL. This is the location of the bundle. Use sbIBundleDataListener to moni...
void removeBundleInstallListener(in sbIBundleInstallListener aListener)
Remove a bundle install listener This method unregisters a bundle install listener object from the li...
readonly attribute AString bundleDataVersion
Version of the downloaded bundle data. The Version of the downloaded bundle, as extracted from the do...
void addBundleInstallListener(in sbIBundleInstallListener aListener)
Add a bundle install listener This method registers a bundle install listener in order to get error a...
readonly attribute long bundleDataStatus
Status of the bundle download.
void setExtensionInstallFlag(in long aIndex, in boolean aInstallFlag)
Sets the installation flag for a bundled extension This method sets the installation flag associated ...
const long BUNDLE_INSTALL_ERROR
void addBundleDataListener(in sbIBundleDataListener aListener)
Add a bundle data listener This method registers a bundle observer object associated with the downloa...
void removeBundleDataListener(in sbIBundleDataListener aListener)
Remove a bundle data listener This method unregisters a bundle observer object from the list of bundl...
Songbird Bundle Installation Listener Interface.
AString getExtensionAttribute(in long aIndex, in AString aAttributeName)
Gets an extension's attribute from its xml document source This method returns the corresponding attr...
const long BUNDLE_DATA_STATUS_DOWNLOADING
boolean getExtensionInstallFlag(in long aIndex)
Gets the installation flag for a bundled extension This method returns the installation flag associat...
const long BUNDLE_INSTALL_SUCCESS
const long BUNDLE_DATA_STATUS_SUCCESS
readonly attribute long bundleExtensionCount
Number of extensions in the bundle document.
const long BUNDLE_DATA_STATUS_ERROR
Songbird Bundle Interface This is the main bundle management interface, used to get the bundle data...
long installFlaggedExtensions(in nsIDOMWindow aWindow)
Install specified bundled extensions This method installs the extensions whose install flags are set ...
readonly attribute nsIDOMDocument bundleDataDocument
DOM document for the bundle data. The interface to the bundle DOM document describing the bundled ext...
attribute AString bundleId
Bundle channel ID Sets the bundle channel ID. This is used to construct the bundle data url...
readonly attribute AString bundleDataText
Bundle document xml in text format. The XML for the bundle document describing the bundled extension...
void retrieveBundleData(in long aTimeout)
Begin downloading the bundle data asynchronously This method begins the asynchronous download of bund...