Struct xpcom::interfaces::nsIGIOService
[−]
[src]
#[repr(C)]pub struct nsIGIOService { /* fields omitted */ }
interface nsIGIOService : nsISupports
Methods
impl nsIGIOService
[src]
pub fn coerce<T: nsIGIOServiceCoerce>(&self) -> &T
[src]
Cast this nsIGIOService
to one of its base interfaces.
impl nsIGIOService
[src]
pub unsafe fn GetMimeTypeFromExtension(
&self,
extension: &nsACString,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
extension: &nsACString,
_retval: &mut nsACString
) -> nsresult
/*** MIME registry methods ***/
AUTF8String getMimeTypeFromExtension (in AUTF8String extension);
pub unsafe fn GetAppForURIScheme(
&self,
aURIScheme: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
[src]
&self,
aURIScheme: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
nsIGIOMimeApp getAppForURIScheme (in AUTF8String aURIScheme);
pub unsafe fn GetAppsForURIScheme(
&self,
aURIScheme: &nsACString,
_retval: *mut *const nsIMutableArray
) -> nsresult
[src]
&self,
aURIScheme: &nsACString,
_retval: *mut *const nsIMutableArray
) -> nsresult
nsIMutableArray getAppsForURIScheme (in AUTF8String aURIScheme);
pub unsafe fn GetAppForMimeType(
&self,
mimeType: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
[src]
&self,
mimeType: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
nsIGIOMimeApp getAppForMimeType (in AUTF8String mimeType);
pub unsafe fn CreateAppFromCommand(
&self,
cmd: &nsACString,
appName: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
[src]
&self,
cmd: &nsACString,
appName: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
nsIGIOMimeApp createAppFromCommand (in AUTF8String cmd, in AUTF8String appName);
pub unsafe fn FindAppFromCommand(
&self,
cmd: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
[src]
&self,
cmd: &nsACString,
_retval: *mut *const nsIGIOMimeApp
) -> nsresult
nsIGIOMimeApp findAppFromCommand (in AUTF8String cmd);
pub unsafe fn GetDescriptionForMimeType(
&self,
mimeType: &nsACString,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
mimeType: &nsACString,
_retval: &mut nsACString
) -> nsresult
AUTF8String getDescriptionForMimeType (in AUTF8String mimeType);
pub unsafe fn ShowURI(&self, uri: *const nsIURI) -> nsresult
[src]
/*** Misc. methods ***/
void showURI (in nsIURI uri);
pub unsafe fn ShowURIForInput(&self, uri: &nsACString) -> nsresult
[src]
[noscript] void showURIForInput (in ACString uri);
pub unsafe fn OrgFreedesktopFileManager1ShowItems(
&self,
path: &nsACString
) -> nsresult
[src]
&self,
path: &nsACString
) -> nsresult
[noscript] void orgFreedesktopFileManager1ShowItems (in ACString path);
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 nsIGIOService
[src]
const IID: nsIID
IID: nsIID = nsID(3986827824, 34017, 19990, [156, 160, 205, 21, 83, 194, 179, 74])
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 nsIGIOService
[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 nsIGIOService
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.