Songbird / Development / Songbird Add-Ons API Documentation

sbIBundleInstallListener Interface Reference

Songbird Bundle Installation Listener Interface. More...

List of all members.

Public Member Functions

void onExtensionDownloadProgress (in sbIBundle aBundle, in long aIndex, in long long aCurrentProgress, in long long aMaxProgress)
 Bundled extension download progress callback This method is called while a bundled extension is being downloaded to report progress.
void onDownloadComplete (in sbIBundle aBundle, in long aIndex)
 Bundled extension download completion callback This method is called upon download completion of a bundled extension.
void onInstallComplete (in sbIBundle aBundle, in long aIndex)
 Bundle installation complete callback This method is called when a bundled extension has been successfully installed.
void onDownloadError (in sbIBundle aBundle, in long aIndex)
 Bundle download error callback This method is called upon error downloading a bundled extension.
void onInstallError (in sbIBundle aBundle, in long aIndex)
 Bundle install error callback This method is called upon error installing a bundled extension.
void onBundleInstallComplete (in sbIBundle aBundle)
 Bundle download and installation complete callback This method is called when the downloading and installing of all the bundled extensions has been completed, regardless of any error that may have occured in the process.


Detailed Description

Songbird Bundle Installation Listener Interface.

See also:
sbIBundle

Definition at line 44 of file sbIBundleInstallListener.idl.


Member Function Documentation

void sbIBundleInstallListener::onExtensionDownloadProgress ( in sbIBundle  aBundle,
in long  aIndex,
in long long  aCurrentProgress,
in long long  aMaxProgress 
)

Bundled extension download progress callback This method is called while a bundled extension is being downloaded to report progress.

Parameters:
bundle An interface to the bundle manager that triggered the event
index The 0-based index of the entry that completed downloading
percent The percentage of the file that has been downloaded
See also:
onInstallComplete, onComplete, sbIBundle

void sbIBundleInstallListener::onDownloadComplete ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundled extension download completion callback This method is called upon download completion of a bundled extension.

Parameters:
bundle An interface to the bundle manager that triggered the event
index The 0-based index of the entry that completed downloading
See also:
onInstallComplete, sbIBundle

void sbIBundleInstallListener::onInstallComplete ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle installation complete callback This method is called when a bundled extension has been successfully installed.

Parameters:
bundle An interface to the bundle manager that triggered the event
index The 0-based index of the entry that completed downloading
See also:
onDownloadComplete, onComplete, sbIBundle

void sbIBundleInstallListener::onDownloadError ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle download error callback This method is called upon error downloading a bundled extension.

Parameters:
bundle An interface to the bundle manager that triggered the event
index The 0-based index of the entry that had an error downloading
See also:
onDownloadComplete, sbIBundle

void sbIBundleInstallListener::onInstallError ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle install error callback This method is called upon error installing a bundled extension.

Parameters:
bundle An interface to the bundle manager that triggered the event
index The 0-based index of the entry that had an error installing
See also:
onDownloadComplete, sbIBundle

void sbIBundleInstallListener::onBundleInstallComplete ( in sbIBundle  aBundle  ) 

Bundle download and installation complete callback This method is called when the downloading and installing of all the bundled extensions has been completed, regardless of any error that may have occured in the process.

Parameters:
bundle An interface to the bundle manager that triggered the event
See also:
onDownloadComplete, onDownloadError, sbIBundle


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:28:57 2009 for Songbird by  doxygen 1.5.2