Struct xpcom::interfaces::nsIXULAppInfo [] [src]

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

interface nsIXULAppInfo : nsIPlatformInfo

/**
 * A scriptable interface to the nsXULAppAPI structure. See nsXULAppAPI.h for
 * a detailed description of each attribute.
 */

Methods

impl nsIXULAppInfo
[src]

[src]

Cast this nsIXULAppInfo to one of its base interfaces.

impl nsIXULAppInfo
[src]

[src]

/**
   * @see XREAppData.vendor
   * @returns an empty string if XREAppData.vendor is not set.
   */

readonly attribute ACString vendor;

[src]

/**
   * @see XREAppData.name
   */

readonly attribute ACString name;

[src]

/**
   * @see XREAppData.ID
   * @returns an empty string if XREAppData.ID is not set.
   */

readonly attribute ACString ID;

[src]

/**
   * The version of the XUL application. It is different than the
   * version of the XULRunner platform. Be careful about which one you want.
   *
   * @see XREAppData.version
   * @returns an empty string if XREAppData.version is not set.
   */

readonly attribute ACString version;

[src]

/**
   * The build ID/date of the application. For xulrunner applications,
   * this will be different than the build ID of the platform. Be careful
   * about which one you want.
   */

readonly attribute ACString appBuildID;

[src]

/**
   * @see XREAppData.UAName
   * @returns an empty string if XREAppData.UAName is not set.
   */

readonly attribute ACString UAName;

Methods from Deref<Target = nsIPlatformInfo>

[src]

Cast this nsIPlatformInfo to one of its base interfaces.

[src]

/**
   * The version of the XULRunner platform.
   */

readonly attribute ACString platformVersion;

[src]

/**
   * The build ID/date of gecko and the XULRunner platform.
   */

readonly attribute ACString platformBuildID;

Trait Implementations

impl XpCom for nsIXULAppInfo
[src]

IID: nsIID = nsID(3723120433, 15454, 18281, [172, 104, 33, 171, 75, 61, 120, 69])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIXULAppInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.