Back to index

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

An interface that describes an object representing a patch file that can be downloaded and applied to a version of this application so that it can be updated. More...

import "nsIUpdateService.idl";

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

List of all members.

Public Member Functions

nsIDOMElement serialize (in nsIDOMDocument updates)
 Serializes this patch object into a DOM Element.

Public Attributes

attribute AString type
 The type of this patch: "partial" A binary difference between two application versions "complete" A complete patch containing all of the replacement files to update to the new version.
attribute AString URL
 The URL this patch was being downloaded from.
attribute AString hashFunction
 The hash function to use when determining this file's integrity.
attribute AString hashValue
 The value of the hash function named above that should be computed if this file is not corrupt.
attribute unsigned long size
 The size of this file, in bytes.
attribute AString state
 The state of this patch.
attribute boolean selected
 true if this patch is currently selected as the patch to be downloaded and installed for this update transaction, false if another patch from this update has been selected.

Detailed Description

An interface that describes an object representing a patch file that can be downloaded and applied to a version of this application so that it can be updated.

Definition at line 55 of file nsIUpdateService.idl.


Member Function Documentation

Serializes this patch object into a DOM Element.

Parameters:
updatesThe document to serialize into
Returns:
The DOM Element created by the serialization process

Member Data Documentation

The hash function to use when determining this file's integrity.

Definition at line 73 of file nsIUpdateService.idl.

The value of the hash function named above that should be computed if this file is not corrupt.

Definition at line 79 of file nsIUpdateService.idl.

true if this patch is currently selected as the patch to be downloaded and installed for this update transaction, false if another patch from this update has been selected.

Definition at line 96 of file nsIUpdateService.idl.

The size of this file, in bytes.

Definition at line 84 of file nsIUpdateService.idl.

The state of this patch.

Definition at line 89 of file nsIUpdateService.idl.

The type of this patch: "partial" A binary difference between two application versions "complete" A complete patch containing all of the replacement files to update to the new version.

Definition at line 63 of file nsIUpdateService.idl.

The URL this patch was being downloaded from.

Definition at line 68 of file nsIUpdateService.idl.


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