Struct xpcom::interfaces::nsIStringBundleService [] [src]

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

interface nsIStringBundleService : nsISupports

Methods

impl nsIStringBundleService
[src]

[src]

Cast this nsIStringBundleService to one of its base interfaces.

impl nsIStringBundleService
[src]

[src]

nsIStringBundle createBundle (in string aURLSpec);

[src]

nsIStringBundle createExtensibleBundle (in string aRegistryKey);

[src]

/**
   * Formats a message string from a status code and status arguments.
   * @param aStatus - The status code. This is mapped into a string ID and
   *            and used in the string lookup process (see nsIErrorService).
   * @param aStatusArg - The status message argument(s). Multiple arguments
   *            can be separated by newline ('\n') characters.
   * @return the formatted message
   */

AString formatStatusMessage (in nsresult aStatus, in wstring aStatusArg);

[src]

/**
   * flushes the string bundle cache - useful when the locale changes or
   * when we need to get some extra memory back
   *
   * at some point, we might want to make this flush all the bundles,
   * because any bundles that are floating around when the locale changes
   * will suddenly contain bad data
   *
   */

void flushBundles ();

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

IID: nsIID = nsID(3629782976, 43644, 4562, [155, 140, 0, 128, 95, 138, 22, 217])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIStringBundleService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.