Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIUpdateItem Interface Reference

An item managed by the Extension System. More...

import "nsIExtensionManager.idl";

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

List of all members.

Public Member Functions

void init (in AString id, in AString version, in AString installLocationKey, in AString minAppVersion, in AString maxAppVersion, in AString name, in AString downloadURL, in AString xpiHash, in AString iconURL, in AString updateURL, in long type)
 Initializes this Item object.

Public Attributes

readonly attribute AString id
 The GUID of the item.
readonly attribute AString version
 The Version of the item, in FVF format.
readonly attribute AString minAppVersion
 The minimum version of the application that this item works with, in FVF format.
readonly attribute AString maxAppVersion
 The maximum version of the application that this item works with, in FVF format.
readonly attribute AString installLocationKey
 The name of the Install Location where this item is installed.
readonly attribute AString name
 The name of this item.
readonly attribute AString xpiURL
 The URL of the XPI where this item can be downloaded.
readonly attribute AString xpiHash
 The string Hash for the XPI file.
readonly attribute AString iconURL
 The URL of the icon that can be shown for this item.
readonly attribute AString updateRDF
 The URL of the update RDF file for this item.
const unsigned long TYPE_APP = 0x01
const unsigned long TYPE_EXTENSION = 0x02
const unsigned long TYPE_THEME = 0x04
const unsigned long TYPE_LOCALE = 0x08
const unsigned long TYPE_PLUGIN = 0x10
const unsigned long TYPE_MULTI_XPI = 0x20
const unsigned long TYPE_ADDON = TYPE_EXTENSION + TYPE_THEME + TYPE_LOCALE + TYPE_PLUGIN
const unsigned long TYPE_ANY = TYPE_APP + TYPE_ADDON
readonly attribute long type
 The type of this item.
readonly attribute AString objectSource
 Returns a JS Object source representing an nsIUpdateItem.

Detailed Description

An item managed by the Extension System.

Contains metadata that describes the item. XXXben work in progress, the name of this interface will change after the update system is complete, probably to nsIAddon

Definition at line 434 of file nsIExtensionManager.idl.


Member Function Documentation

void nsIUpdateItem::init ( in AString  id,
in AString  version,
in AString  installLocationKey,
in AString  minAppVersion,
in AString  maxAppVersion,
in AString  name,
in AString  downloadURL,
in AString  xpiHash,
in AString  iconURL,
in AString  updateURL,
in long  type 
)

Initializes this Item object.


Member Data Documentation

The URL of the icon that can be shown for this item.

Definition at line 483 of file nsIExtensionManager.idl.

readonly attribute AString nsIUpdateItem::id

The GUID of the item.

Definition at line 439 of file nsIExtensionManager.idl.

The name of the Install Location where this item is installed.

Definition at line 461 of file nsIExtensionManager.idl.

The maximum version of the application that this item works with, in FVF format.

Definition at line 456 of file nsIExtensionManager.idl.

The minimum version of the application that this item works with, in FVF format.

Definition at line 450 of file nsIExtensionManager.idl.

readonly attribute AString nsIUpdateItem::name

The name of this item.

Definition at line 466 of file nsIExtensionManager.idl.

Returns a JS Object source representing an nsIUpdateItem.

Definition at line 516 of file nsIExtensionManager.idl.

The type of this item.

Definition at line 502 of file nsIExtensionManager.idl.

Definition at line 496 of file nsIExtensionManager.idl.

Definition at line 497 of file nsIExtensionManager.idl.

Definition at line 490 of file nsIExtensionManager.idl.

Definition at line 491 of file nsIExtensionManager.idl.

Definition at line 493 of file nsIExtensionManager.idl.

Definition at line 495 of file nsIExtensionManager.idl.

Definition at line 494 of file nsIExtensionManager.idl.

Definition at line 492 of file nsIExtensionManager.idl.

The URL of the update RDF file for this item.

Definition at line 488 of file nsIExtensionManager.idl.

The Version of the item, in FVF format.

Definition at line 444 of file nsIExtensionManager.idl.

The string Hash for the XPI file.

Can be null and if supplied must be in the format of "type:hash" (see the types in nsICryptoHash and nsIXPInstallManager::initManagerWithHashes).

Definition at line 478 of file nsIExtensionManager.idl.

readonly attribute AString nsIUpdateItem::xpiURL

The URL of the XPI where this item can be downloaded.

Definition at line 471 of file nsIExtensionManager.idl.


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