nsIXPInstallManager

IID:566689cb-9926-4bec-a66e-a034e364ad2c
Inherits From:nsISupports

Interface to XPInstallManager - manages download and install operations.

This interface is implemented by the following components:


Methods

void initManagerFromChrome ( arrayof PRUnichar* URLs , PRUint32 URLCount , nsIXPIProgressDialog listener ) void initManagerWithHashes ( arrayof PRUnichar* URLs , arrayof char* hashes , PRUint32 URLCount , nsIXPIProgressDialog listener )

void initManagerFromChrome ( arrayof PRUnichar* URLs , PRUint32 URLCount , nsIXPIProgressDialog listener )

Initiates a download and install operation of the supplied URLs and sends notifications to the supplied listener.

Arguments:
URLs: array of XPI urls to download and install
URLCount: number of XPI urls in uRLs
listener: a listener to receive status notifications

void initManagerWithHashes ( arrayof PRUnichar* URLs , arrayof char* hashes , PRUint32 URLCount , nsIXPIProgressDialog listener )

Initiates a set of downloads and checks the supplied hashes after download. Just like initManagerFromChrome() in all other respects

Arguments:
URLs: array of XPI urls to download and install
hashes: array of hash strings to validate. The entire array or individual hashes can be null to indicate no checking. If supplied looks like "type:hash", like "md5:3232bc5624041c507db0965324188024". Supports the types in nsICryptoHash
URLCount: number of XPI urls in uRLs and hashes
listener: a listener to receive status notifications

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com