Struct xpcom::interfaces::nsIApplicationChooser [] [src]

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

interface nsIApplicationChooser : nsISupports

Methods

impl nsIApplicationChooser
[src]

[src]

Cast this nsIApplicationChooser to one of its base interfaces.

impl nsIApplicationChooser
[src]

[src]

/**
  * Initialize the application chooser picker widget.  The application chooser
  * is not valid until this method is called.
  *
  * @param      parent   nsIDOMWindow parent.  This dialog will be dependent
  *                      on this parent. parent must be non-null.
  * @param      title    The title for the file widget
  *
  */

void init (in mozIDOMWindowProxy parent, in ACString title);

[src]

/**
   * Open application chooser dialog.
   *
   * @param    contentType   content type of file to open
   * @param    applicationChooserFinishedCallback  callback fuction to run when dialog is closed
   */

void open (in ACString contentType, in nsIApplicationChooserFinishedCallback applicationChooserFinishedCallback);

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

IID: nsIID = nsID(4154542554, 24874, 18106, [138, 47, 84, 120, 111, 194, 135, 145])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIApplicationChooser
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.