Struct xpcom::interfaces::nsIINIParserWriter [] [src]

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

interface nsIINIParserWriter : nsISupports

Methods

impl nsIINIParserWriter
[src]

[src]

Cast this nsIINIParserWriter to one of its base interfaces.

impl nsIINIParserWriter
[src]

WRITE_UTF16: i64 = 1
/**
   * Windows and the NSIS installer code sometimes expect INI files to be in
   * UTF-16 encoding. On Windows only, this flag to writeFile can be used to
   * change the encoding from its default UTF-8.
   */

[src]

/**
   * Set the value of a string for a particular section and key.
   */

void setString (in AUTF8String aSection, in AUTF8String aKey, in AUTF8String aValue);

[src]

/**
   * Write to the INI file.
   */

void writeFile ([optional] in nsIFile aINIFile, [optional] in unsigned long aFlags);

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

IID: nsIID = nsID(3061559883, 12707, 19050, [165, 217, 4, 133, 201, 175, 90, 4])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIINIParserWriter
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.