Struct xpcom::interfaces::nsPIExternalAppLauncher
[−]
[src]
#[repr(C)]pub struct nsPIExternalAppLauncher { /* fields omitted */ }
interface nsPIExternalAppLauncher : nsISupports
/**
* This is a private interface shared between external app handlers and the platform specific
* external helper app service
*/
Methods
impl nsPIExternalAppLauncher
[src]
pub fn coerce<T: nsPIExternalAppLauncherCoerce>(&self) -> &T
[src]
Cast this nsPIExternalAppLauncher
to one of its base interfaces.
impl nsPIExternalAppLauncher
[src]
pub unsafe fn DeleteTemporaryFileOnExit(
&self,
aTemporaryFile: *const nsIFile
) -> nsresult
[src]
&self,
aTemporaryFile: *const nsIFile
) -> nsresult
/**
* mscott --> eventually I should move this into a new service so other
* consumers can add temporary files they want deleted on exit.
* @param aTemporaryFile A temporary file we should delete on exit.
*/
void deleteTemporaryFileOnExit (in nsIFile aTemporaryFile);
pub unsafe fn DeleteTemporaryPrivateFileWhenPossible(
&self,
aTemporaryFile: *const nsIFile
) -> nsresult
[src]
&self,
aTemporaryFile: *const nsIFile
) -> nsresult
/**
* Delete a temporary file created inside private browsing mode when
* the private browsing mode has ended.
*/
void deleteTemporaryPrivateFileWhenPossible (in nsIFile aTemporaryFile);
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 nsPIExternalAppLauncher
[src]
const IID: nsIID
IID: nsIID = nsID(1712579303, 65195, 20026, [187, 31, 176, 50, 0, 213, 68, 236])
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 nsPIExternalAppLauncher
[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 nsPIExternalAppLauncher
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.