Struct xpcom::interfaces::nsIAnnotationObserver [] [src]

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

interface nsIAnnotationObserver : nsISupports

Methods

impl nsIAnnotationObserver
[src]

[src]

Cast this nsIAnnotationObserver to one of its base interfaces.

impl nsIAnnotationObserver
[src]

[src]

/**
     * Called when an annotation value is set. It could be a new annotation,
     * or it could be a new value for an existing annotation.
     */

void onPageAnnotationSet (in nsIURI aPage, in AUTF8String aName);

[src]

void onItemAnnotationSet (in long long aItemId, in AUTF8String aName, in unsigned short aSource, in boolean aDontUpdateLastModified);

[src]

/**
     * Called when an annotation is deleted. If aName is empty, then ALL
     * annotations for the given URI have been deleted. This is not called when
     * annotations are expired (normally happens when the app exits).
     */

void onPageAnnotationRemoved (in nsIURI aURI, in AUTF8String aName);

[src]

void onItemAnnotationRemoved (in long long aItemId, in AUTF8String aName, in unsigned short aSource);

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

IID: nsIID = nsID(1677629664, 26761, 19500, [172, 159, 112, 62, 75, 194, 80, 39])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAnnotationObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.