Struct xpcom::interfaces::nsIOfflineCacheUpdateObserver [] [src]

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

interface nsIOfflineCacheUpdateObserver : nsISupports

Methods

impl nsIOfflineCacheUpdateObserver
[src]

[src]

Cast this nsIOfflineCacheUpdateObserver to one of its base interfaces.

impl nsIOfflineCacheUpdateObserver
[src]

STATE_ERROR: i64 = 1

STATE_CHECKING: i64 = 2

STATE_NOUPDATE: i64 = 3

STATE_OBSOLETE: i64 = 4

STATE_DOWNLOADING: i64 = 5

STATE_ITEMSTARTED: i64 = 6

STATE_ITEMCOMPLETED: i64 = 7

STATE_ITEMPROGRESS: i64 = 8

STATE_FINISHED: i64 = 10

[src]

/**
   * aUpdate has changed its state.
   *
   * @param aUpdate
   *        The nsIOfflineCacheUpdate being processed.
   * @param event
   *        See enumeration above
   */

void updateStateChanged (in nsIOfflineCacheUpdate aUpdate, in uint32_t state);

[src]

/**
   * Informs the observer about an application being available to associate.
   *
   * @param applicationCache
   *        The application cache instance that has been created or found by the
   *        update to associate with
   */

void applicationCacheAvailable (in nsIApplicationCache applicationCache);

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 nsIOfflineCacheUpdateObserver
[src]

IID: nsIID = nsID(1194724695, 36596, 19037, [136, 101, 26, 39, 167, 57, 173, 26])

[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 nsIOfflineCacheUpdateObserver
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIOfflineCacheUpdateObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.