Struct xpcom::interfaces::nsIPluginTag
[−]
[src]
#[repr(C)]pub struct nsIPluginTag { /* fields omitted */ }
interface nsIPluginTag : nsISupports
Methods
impl nsIPluginTag
[src]
pub fn coerce<T: nsIPluginTagCoerce>(&self) -> &T
[src]
Cast this nsIPluginTag
to one of its base interfaces.
impl nsIPluginTag
[src]
pub const STATE_DISABLED: i64
STATE_DISABLED: i64 = 0
pub const STATE_CLICKTOPLAY: i64
STATE_CLICKTOPLAY: i64 = 1
pub const STATE_ENABLED: i64
STATE_ENABLED: i64 = 2
pub unsafe fn GetDescription(&self, aDescription: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String description;
pub unsafe fn GetFilename(&self, aFilename: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String filename;
pub unsafe fn GetFullpath(&self, aFullpath: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String fullpath;
pub unsafe fn GetVersion(&self, aVersion: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String version;
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String name;
pub unsafe fn GetNiceName(&self, aNiceName: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String niceName;
pub unsafe fn GetBlocklisted(&self, aBlocklisted: *mut bool) -> nsresult
[src]
/**
* true only if this plugin is "hardblocked" and cannot be enabled.
*/
readonly attribute boolean blocklisted;
pub unsafe fn GetIsEnabledStateLocked(
&self,
aIsEnabledStateLocked: *mut bool
) -> nsresult
[src]
&self,
aIsEnabledStateLocked: *mut bool
) -> nsresult
/**
* true if the state is non-default and locked, false otherwise.
*/
readonly attribute boolean isEnabledStateLocked;
pub unsafe fn GetActive(&self, aActive: *mut bool) -> nsresult
[src]
readonly attribute boolean active;
pub unsafe fn GetBlocklistState(
&self,
aBlocklistState: *mut uint32_t
) -> nsresult
[src]
&self,
aBlocklistState: *mut uint32_t
) -> nsresult
readonly attribute unsigned long blocklistState;
pub unsafe fn GetDisabled(&self, aDisabled: *mut bool) -> nsresult
[src]
readonly attribute boolean disabled;
pub unsafe fn GetClicktoplay(&self, aClicktoplay: *mut bool) -> nsresult
[src]
readonly attribute boolean clicktoplay;
pub unsafe fn GetLoaded(&self, aLoaded: *mut bool) -> nsresult
[src]
readonly attribute boolean loaded;
pub unsafe fn GetEnabledState(&self, aEnabledState: *mut uint32_t) -> nsresult
[src]
attribute unsigned long enabledState;
pub unsafe fn SetEnabledState(&self, aEnabledState: uint32_t) -> nsresult
[src]
attribute unsigned long enabledState;
pub unsafe fn GetLastModifiedTime(
&self,
aLastModifiedTime: *mut PRTime
) -> nsresult
[src]
&self,
aLastModifiedTime: *mut PRTime
) -> nsresult
readonly attribute PRTime lastModifiedTime;
pub unsafe fn GetMimeTypes(
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
[src]
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
void getMimeTypes ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults);
pub unsafe fn GetMimeDescriptions(
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
[src]
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
void getMimeDescriptions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults);
pub unsafe fn GetExtensions(
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
[src]
&self,
aCount: *mut uint32_t,
aResults: *mut *mut *const int16_t
) -> nsresult
void getExtensions ([optional] out unsigned long aCount, [array, size_is (aCount), retval] out wstring aResults);
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 nsIPluginTag
[src]
const IID: nsIID
IID: nsIID = nsID(1571461589, 9818, 17303, [180, 41, 201, 67, 128, 62, 38, 25])
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 nsIPluginTag
[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 nsIPluginTag
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.