Struct xpcom::interfaces::nsIDialogParamBlock [] [src]

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

interface nsIDialogParamBlock : nsISupports

/**
 * An interface to pass strings, integers and nsISupports to a dialog
 */

Methods

impl nsIDialogParamBlock
[src]

[src]

Cast this nsIDialogParamBlock to one of its base interfaces.

impl nsIDialogParamBlock
[src]

[src]

/** Get or set an integer to pass.
   * Index must be in the range 0..7
   */

int32_t GetInt (in int32_t inIndex);

[src]

void SetInt (in int32_t inIndex, in int32_t inInt);

[src]

/** Set the maximum number of strings to pass. Default is 16.
   * Use before setting any string (If you want to change it from the default).
   */

void SetNumberStrings (in int32_t inNumStrings);

[src]

/** Get or set an string to pass.
    * Index starts at 0
    */

wstring GetString (in int32_t inIndex);

[src]

void SetString (in int32_t inIndex, in wstring inString);

[src]

/**
   * A place where you can store an nsIMutableArray to pass nsISupports
   */

attribute nsIMutableArray objects;

[src]

/**
   * A place where you can store an nsIMutableArray to pass nsISupports
   */

attribute nsIMutableArray objects;

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

IID: nsIID = nsID(4151052545, 17274, 4563, [183, 160, 227, 93, 179, 81, 180, 188])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDialogParamBlock
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.