Struct xpcom::interfaces::nsIUpdateManager [] [src]

#[repr(C)]
pub struct nsIUpdateManager { /* fields omitted */ }

interface nsIUpdateManager : nsISupports

/**
 * An interface describing a global application service that maintains a list
 * of updates previously performed as well as the current active update.
 */

Methods

impl nsIUpdateManager
[src]

[src]

Cast this nsIUpdateManager to one of its base interfaces.

impl nsIUpdateManager
[src]

[src]

/**
   * Gets the update at the specified index
   * @param   index
   *          The index within the updates array
   * @returns The nsIUpdate object at the specified index
   */

nsIUpdate getUpdateAt (in long index);

[src]

/**
   * Gets the total number of updates in the history list.
   */

readonly attribute long updateCount;

[src]

/**
   * The active (current) update. The active update is not in the history list.
   */

attribute nsIUpdate activeUpdate;

[src]

/**
   * The active (current) update. The active update is not in the history list.
   */

attribute nsIUpdate activeUpdate;

[src]

/**
   * Saves all updates to disk.
   */

void saveUpdates ();

[src]

/**
   * Refresh the update status based on the information in update.status.
   */

void refreshUpdateStatus ();

[src]

/**
   * The user agreed to proceed with an elevated update and we are now
   * permitted to show an elevation prompt.
   */

void elevationOptedIn ();

[src]

/**
   * Clean up and remove the active update without applying it.
   */

void cleanupActiveUpdate ();

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIUpdateManager
[src]

IID: nsIID = nsID(252745961, 42055, 19193, [176, 48, 111, 143, 53, 200, 95, 137])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIUpdateManager
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUpdateManager
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.