Struct xpcom::interfaces::nsICommandManager
[−]
[src]
#[repr(C)]pub struct nsICommandManager { /* fields omitted */ }
interface nsICommandManager : nsISupports
Methods
impl nsICommandManager
[src]
pub fn coerce<T: nsICommandManagerCoerce>(&self) -> &T
[src]
Cast this nsICommandManager
to one of its base interfaces.
impl nsICommandManager
[src]
pub unsafe fn AddCommandObserver(
&self,
aCommandObserver: *const nsIObserver,
aCommandToObserve: *const c_char
) -> nsresult
[src]
&self,
aCommandObserver: *const nsIObserver,
aCommandToObserve: *const c_char
) -> nsresult
void addCommandObserver (in nsIObserver aCommandObserver, in string aCommandToObserve);
pub unsafe fn RemoveCommandObserver(
&self,
aCommandObserver: *const nsIObserver,
aCommandObserved: *const c_char
) -> nsresult
[src]
&self,
aCommandObserver: *const nsIObserver,
aCommandObserved: *const c_char
) -> nsresult
void removeCommandObserver (in nsIObserver aCommandObserver, in string aCommandObserved);
pub unsafe fn IsCommandSupported(
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
_retval: *mut bool
) -> nsresult
[src]
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
_retval: *mut bool
) -> nsresult
boolean isCommandSupported (in string aCommandName, in mozIDOMWindowProxy aTargetWindow);
pub unsafe fn IsCommandEnabled(
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
_retval: *mut bool
) -> nsresult
[src]
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
_retval: *mut bool
) -> nsresult
boolean isCommandEnabled (in string aCommandName, in mozIDOMWindowProxy aTargetWindow);
pub unsafe fn GetCommandState(
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
aCommandParams: *const nsICommandParams
) -> nsresult
[src]
&self,
aCommandName: *const c_char,
aTargetWindow: *const mozIDOMWindowProxy,
aCommandParams: *const nsICommandParams
) -> nsresult
void getCommandState (in string aCommandName, in mozIDOMWindowProxy aTargetWindow, in nsICommandParams aCommandParams);
pub unsafe fn DoCommand(
&self,
aCommandName: *const c_char,
aCommandParams: *const nsICommandParams,
aTargetWindow: *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aCommandName: *const c_char,
aCommandParams: *const nsICommandParams,
aTargetWindow: *const mozIDOMWindowProxy
) -> nsresult
void doCommand (in string aCommandName, in nsICommandParams aCommandParams, in mozIDOMWindowProxy aTargetWindow);
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 nsICommandManager
[src]
const IID: nsIID
IID: nsIID = nsID(3143243568, 55355, 20386, [131, 27, 53, 185, 213, 132, 46, 132])
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 nsICommandManager
[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 nsICommandManager
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.