Struct xpcom::interfaces::nsIDirectoryService [] [src]

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

interface nsIDirectoryService : nsISupports

/**
 * nsIDirectoryService
 */

Methods

impl nsIDirectoryService
[src]

[src]

Cast this nsIDirectoryService to one of its base interfaces.

impl nsIDirectoryService
[src]

[src]

/**
  * init
  *
  * Must be called. Used internally by XPCOM initialization.
  *
  */

void init ();

[src]

/**
  * registerProvider
  *
  * Register a provider with the service.
  *
  * @param prov            The service will keep a strong reference
  *                        to this object. It will be released when
  *                        the service is released.
  *
  */

void registerProvider (in nsIDirectoryServiceProvider prov);

[src]

/**
  * unregisterProvider
  *
  * Unregister a provider with the service.
  *
  * @param prov
  *
  */

void unregisterProvider (in nsIDirectoryServiceProvider prov);

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

IID: nsIID = nsID(1470524000, 54330, 4563, [140, 194, 0, 96, 151, 146, 39, 140])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDirectoryService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.