Struct xpcom::interfaces::nsIPresentationDeviceListener
[−]
[src]
#[repr(C)]pub struct nsIPresentationDeviceListener { /* fields omitted */ }
interface nsIPresentationDeviceListener : nsISupports
Methods
impl nsIPresentationDeviceListener
[src]
pub fn coerce<T: nsIPresentationDeviceListenerCoerce>(&self) -> &T
[src]
Cast this nsIPresentationDeviceListener
to one of its base interfaces.
impl nsIPresentationDeviceListener
[src]
pub unsafe fn AddDevice(&self, device: *const nsIPresentationDevice) -> nsresult
[src]
void addDevice (in nsIPresentationDevice device);
pub unsafe fn RemoveDevice(
&self,
device: *const nsIPresentationDevice
) -> nsresult
[src]
&self,
device: *const nsIPresentationDevice
) -> nsresult
void removeDevice (in nsIPresentationDevice device);
pub unsafe fn UpdateDevice(
&self,
device: *const nsIPresentationDevice
) -> nsresult
[src]
&self,
device: *const nsIPresentationDevice
) -> nsresult
void updateDevice (in nsIPresentationDevice device);
pub unsafe fn OnSessionRequest(
&self,
device: *const nsIPresentationDevice,
url: &nsAString,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel
) -> nsresult
[src]
&self,
device: *const nsIPresentationDevice,
url: &nsAString,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel
) -> nsresult
void onSessionRequest (in nsIPresentationDevice device, in DOMString url, in DOMString presentationId, in nsIPresentationControlChannel controlChannel);
pub unsafe fn OnTerminateRequest(
&self,
device: *const nsIPresentationDevice,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel,
aIsFromReceiver: bool
) -> nsresult
[src]
&self,
device: *const nsIPresentationDevice,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel,
aIsFromReceiver: bool
) -> nsresult
void onTerminateRequest (in nsIPresentationDevice device, in DOMString presentationId, in nsIPresentationControlChannel controlChannel, in boolean aIsFromReceiver);
pub unsafe fn OnReconnectRequest(
&self,
device: *const nsIPresentationDevice,
url: &nsAString,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel
) -> nsresult
[src]
&self,
device: *const nsIPresentationDevice,
url: &nsAString,
presentationId: &nsAString,
controlChannel: *const nsIPresentationControlChannel
) -> nsresult
void onReconnectRequest (in nsIPresentationDevice device, in DOMString url, in DOMString presentationId, in nsIPresentationControlChannel controlChannel);
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 nsIPresentationDeviceListener
[src]
const IID: nsIID
IID: nsIID = nsID(1190999851, 11840, 16761, [155, 54, 4, 120, 209, 65, 228, 64])
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 nsIPresentationDeviceListener
[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 nsIPresentationDeviceListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.