Struct xpcom::interfaces::nsIGConfService
[−]
[src]
#[repr(C)]pub struct nsIGConfService { /* fields omitted */ }
interface nsIGConfService : nsISupports
Methods
impl nsIGConfService
[src]
pub fn coerce<T: nsIGConfServiceCoerce>(&self) -> &T
[src]
Cast this nsIGConfService
to one of its base interfaces.
impl nsIGConfService
[src]
pub unsafe fn GetBool(&self, key: &nsACString, _retval: *mut bool) -> nsresult
[src]
boolean getBool (in AUTF8String key);
pub unsafe fn GetString(
&self,
key: &nsACString,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: &mut nsACString
) -> nsresult
AUTF8String getString (in AUTF8String key);
pub unsafe fn GetInt(&self, key: &nsACString, _retval: *mut int32_t) -> nsresult
[src]
long getInt (in AUTF8String key);
pub unsafe fn GetFloat(
&self,
key: &nsACString,
_retval: *mut c_float
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: *mut c_float
) -> nsresult
float getFloat (in AUTF8String key);
pub unsafe fn GetStringList(
&self,
key: &nsACString,
_retval: *mut *const nsIArray
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: *mut *const nsIArray
) -> nsresult
nsIArray getStringList (in AUTF8String key);
pub unsafe fn SetBool(&self, key: &nsACString, value: bool) -> nsresult
[src]
void setBool (in AUTF8String key, in boolean value);
pub unsafe fn SetString(&self, key: &nsACString, value: &nsACString) -> nsresult
[src]
void setString (in AUTF8String key, in AUTF8String value);
pub unsafe fn SetInt(&self, key: &nsACString, value: int32_t) -> nsresult
[src]
void setInt (in AUTF8String key, in long value);
pub unsafe fn SetFloat(&self, key: &nsACString, value: c_float) -> nsresult
[src]
void setFloat (in AUTF8String key, in float value);
pub unsafe fn GetAppForProtocol(
&self,
scheme: &nsACString,
enabled: *mut bool,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
scheme: &nsACString,
enabled: *mut bool,
_retval: &mut nsACString
) -> nsresult
AUTF8String getAppForProtocol (in AUTF8String scheme, out boolean enabled);
pub unsafe fn HandlerRequiresTerminal(
&self,
scheme: &nsACString,
_retval: *mut bool
) -> nsresult
[src]
&self,
scheme: &nsACString,
_retval: *mut bool
) -> nsresult
boolean handlerRequiresTerminal (in AUTF8String scheme);
pub unsafe fn SetAppForProtocol(
&self,
scheme: &nsACString,
command: &nsACString
) -> nsresult
[src]
&self,
scheme: &nsACString,
command: &nsACString
) -> nsresult
void setAppForProtocol (in AUTF8String scheme, in AUTF8String command);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIGConfService
[src]
const IID: nsIID
IID: nsIID = nsID(1342811310, 26995, 18627, [182, 214, 82, 198, 146, 204, 93, 157])
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 nsIGConfService
[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 nsIGConfService
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.