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 interface sbIBundle;
00030
00043 [scriptable, uuid(849391de-aeff-11db-96e1-005056c00008)]
00044 interface sbIBundleInstallListener : nsISupports
00045 {
00054 void onExtensionDownloadProgress(in sbIBundle aBundle, in long aIndex, in long long aCurrentProgress, in long long aMaxProgress);
00055
00063 void onDownloadComplete(in sbIBundle aBundle, in long aIndex);
00064
00072 void onInstallComplete(in sbIBundle aBundle, in long aIndex);
00073
00081 void onDownloadError(in sbIBundle aBundle, in long aIndex);
00082
00090 void onInstallError(in sbIBundle aBundle, in long aIndex);
00091
00099 void onBundleInstallComplete(in sbIBundle aBundle);
00100 };