Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIXPInstallManager Interface Reference

Interface to XPInstallManager - manages download and install operations. More...

import "nsIXPInstallManager.idl";

Inheritance diagram for nsIXPInstallManager:
Inheritance graph
[legend]
Collaboration diagram for nsIXPInstallManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void initManagerFromChrome ([array, size_is(aURLCount)] in wstring aURLs, in unsigned long aURLCount, in nsIXPIProgressDialog aListener)
 Initiates a download and install operation of the supplied URLs and sends notifications to the supplied listener.
void initManagerWithHashes ([array, size_is(aURLCount)] in wstring aURLs,[array, size_is(aURLCount)] in string aHashes, in unsigned long aURLCount, in nsIXPIProgressDialog aListener)
 Initiates a set of downloads and checks the supplied hashes after download.

Detailed Description

Interface to XPInstallManager - manages download and install operations.

Definition at line 45 of file nsIXPInstallManager.idl.


Member Function Documentation

void nsIXPInstallManager::initManagerFromChrome ( [array, size_is(aURLCount)] in wstring  aURLs,
in unsigned long  aURLCount,
in nsIXPIProgressDialog  aListener 
)

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

Parameters:
aURLsarray of XPI urls to download and install
aURLCountnumber of XPI urls in aURLs
aListenera listener to receive status notifications
void nsIXPInstallManager::initManagerWithHashes ( [array, size_is(aURLCount)] in wstring  aURLs,
[array, size_is(aURLCount)] in string  aHashes,
in unsigned long  aURLCount,
in nsIXPIProgressDialog  aListener 
)

Initiates a set of downloads and checks the supplied hashes after download.

Just like initManagerFromChrome() in all other respects

Parameters:
aURLsarray of XPI urls to download and install
aHashesarray 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
aURLCountnumber of XPI urls in aURLs and aHashes
aListenera listener to receive status notifications

The documentation for this interface was generated from the following file: