Struct xpcom::interfaces::nsINativeFileWatcherCallback
[−]
[src]
#[repr(C)]pub struct nsINativeFileWatcherCallback { /* fields omitted */ }
interface nsINativeFileWatcherCallback : nsISupports
/**
* The interface for the callback invoked when a change on a watched
* resource is detected.
*/
Methods
impl nsINativeFileWatcherCallback
[src]
pub fn coerce<T: nsINativeFileWatcherCallbackCoerce>(&self) -> &T
[src]
Cast this nsINativeFileWatcherCallback
to one of its base interfaces.
impl nsINativeFileWatcherCallback
[src]
pub unsafe fn Changed(
&self,
resourcePath: &nsAString,
flags: int32_t
) -> nsresult
[src]
&self,
resourcePath: &nsAString,
flags: int32_t
) -> nsresult
/**
* @param resourcePath
* The path of the changed resource. If there were too many changes,
* the string "*" is passed.
* @param flags Reserved for future uses, not currently used.
*/
void changed (in AString resourcePath, in int32_t flags);
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 nsINativeFileWatcherCallback
[src]
const IID: nsIID
IID: nsIID = nsID(4266493641, 9279, 16789, [181, 68, 174, 206, 61, 244, 184, 106])
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 nsINativeFileWatcherCallback
[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 nsINativeFileWatcherCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.