Struct xpcom::interfaces::amIAddonManagerStartup [] [src]

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

interface amIAddonManagerStartup : nsISupports

Methods

impl amIAddonManagerStartup
[src]

[src]

Cast this amIAddonManagerStartup to one of its base interfaces.

impl amIAddonManagerStartup
[src]

[src]

/**
   * Enumerates over all entries in the given zip file matching the given
   * pattern, and returns an array of their paths.
   *
   * This should be used in preference to manually opening or retrieving a
   * ZipReader from the zip cache, since the former causes main thread IO and
   * the latter can lead to file locking issues due to unpredictable GC behavior
   * keeping the cached ZipReader alive after the cache is flushed.
   *
   * @param file The zip file to enumerate.
   * @param pattern The pattern to match, as passed to nsIZipReader.findEntries.
   */

void enumerateZipFile (in nsIFile file, in AUTF8String pattern, [optional] out unsigned long count, [array, size_is (count), retval] out wstring entries);

[src]

/**
   * Resets the internal state of the startup service, and allows
   * initializeExtensions() to be called again. Does *not* fully unregister
   * chrome registry locations for previously registered add-ons.
   *
   * NOT FOR USE OUTSIDE OF UNIT TESTS.
   */

void reset ();

[src]

/**
   * Initializes the URL Preloader.
   *
   * NOT FOR USE OUTSIDE OF UNIT TESTS.
   */

void initializeURLPreloader ();

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

IID: nsIID = nsID(31433851, 34788, 16693, [135, 123, 88, 109, 3, 62, 27, 93])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for amIAddonManagerStartup
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.