Struct xpcom::interfaces::nsICommandManager [] [src]

#[repr(C)]
pub struct nsICommandManager { /* fields omitted */ }

interface nsICommandManager : nsISupports

Methods

impl nsICommandManager
[src]

[src]

Cast this nsICommandManager to one of its base interfaces.

impl nsICommandManager
[src]

[src]

void addCommandObserver (in nsIObserver aCommandObserver, in string aCommandToObserve);

[src]

void removeCommandObserver (in nsIObserver aCommandObserver, in string aCommandObserved);

[src]

boolean isCommandSupported (in string aCommandName, in mozIDOMWindowProxy aTargetWindow);

[src]

boolean isCommandEnabled (in string aCommandName, in mozIDOMWindowProxy aTargetWindow);

[src]

void getCommandState (in string aCommandName, in mozIDOMWindowProxy aTargetWindow, in nsICommandParams aCommandParams);

[src]

void doCommand (in string aCommandName, in nsICommandParams aCommandParams, in mozIDOMWindowProxy aTargetWindow);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsICommandManager
[src]

IID: nsIID = nsID(3143243568, 55355, 20386, [131, 27, 53, 185, 213, 132, 46, 132])

[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]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICommandManager
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.