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]
pub fn coerce<T: nsIXULAppInfoCoerce>(&self) -> &T
[src]
Cast this nsIXULAppInfo
to one of its base interfaces.
impl nsIXULAppInfo
[src]
pub unsafe fn GetVendor(&self, aVendor: &mut nsACString) -> nsresult
[src]
/**
* @see XREAppData.vendor
* @returns an empty string if XREAppData.vendor is not set.
*/
readonly attribute ACString vendor;
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult
[src]
/**
* @see XREAppData.name
*/
readonly attribute ACString name;
pub unsafe fn GetID(&self, aID: &mut nsACString) -> nsresult
[src]
/**
* @see XREAppData.ID
* @returns an empty string if XREAppData.ID is not set.
*/
readonly attribute ACString ID;
pub unsafe fn GetVersion(&self, aVersion: &mut nsACString) -> nsresult
[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;
pub unsafe fn GetAppBuildID(&self, aAppBuildID: &mut nsACString) -> nsresult
[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;
pub unsafe fn GetUAName(&self, aUAName: &mut nsACString) -> nsresult
[src]
/**
* @see XREAppData.UAName
* @returns an empty string if XREAppData.UAName is not set.
*/
readonly attribute ACString UAName;
Methods from Deref<Target = nsIPlatformInfo>
pub fn coerce<T: nsIPlatformInfoCoerce>(&self) -> &T
[src]
Cast this nsIPlatformInfo
to one of its base interfaces.
pub unsafe fn GetPlatformVersion(
&self,
aPlatformVersion: &mut nsACString
) -> nsresult
[src]
&self,
aPlatformVersion: &mut nsACString
) -> nsresult
/**
* The version of the XULRunner platform.
*/
readonly attribute ACString platformVersion;
pub unsafe fn GetPlatformBuildID(
&self,
aPlatformBuildID: &mut nsACString
) -> nsresult
[src]
&self,
aPlatformBuildID: &mut nsACString
) -> nsresult
/**
* The build ID/date of gecko and the XULRunner platform.
*/
readonly attribute ACString platformBuildID;
Trait Implementations
impl XpCom for nsIXULAppInfo
[src]
const IID: nsIID
IID: nsIID = nsID(3723120433, 15454, 18281, [172, 104, 33, 171, 75, 61, 120, 69])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIXULAppInfo
[src]
type Target = nsIPlatformInfo
The resulting type after dereferencing.
fn deref(&self) -> &nsIPlatformInfo
[src]
Dereferences the value.