WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/extensions/addon-repository;1

This component implements the following interfaces:

Properties

readonly AString nsIAddonRepository.homepageURL

The homepage for visiting this repository. This may be null or an empty string.

readonly PRBool nsIAddonRepository.isSearching

Returns whether this instance is currently performing a search. New searches will not be performed while this is the case.

Methods

InterfaceMethod
nsIAddonRepository void cancelSearch ( )
nsIAddonRepository AString getRecommendedURL ( )
nsIAddonRepository AString getSearchURL ( AString searchTerms )
nsIAddonRepository void retrieveRecommendedAddons ( PRUint32 maxResults , nsIAddonSearchResultsCallback callback )
nsIAddonRepository void searchAddons ( AString searchTerms , PRUint32 maxResults , nsIAddonSearchResultsCallback callback )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com