[scriptable, uuid(a6f70917-dd30-4eb6-8b3d-453204f96f33)]
interface nsIAddonSearchResultsCallback : nsISupports

Methods

 Called when an error occured when performing a search.
void searchFailed()
 Called when a search has suceeded.

 @param  aAddons        an array of the add-on results. In the case of
                        searching for specific terms the ordering of results
                        may be determined by the search provider.
 @param  aAddonCount    The length of aAddons
 @param  aTotalResults  The total results actually available in the
                        repository
void searchSucceeded([array, size_is(aAddonCount)] in nsIAddonSearchResult aAddons, in unsigned long aAddonCount, in unsigned long aTotalResults)