Struct xpcom::interfaces::nsIBrowserHistory [] [src]

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

interface nsIBrowserHistory : nsISupports

Methods

impl nsIBrowserHistory
[src]

[src]

Cast this nsIBrowserHistory to one of its base interfaces.

impl nsIBrowserHistory
[src]

[src]

/**
     * Removes all global history information about pages for a given host.
     *
     * @param aHost
     *        Hostname to be removed.
     *        An empty host name means local files and anything else with no
     *        hostname.  You can also pass in the localized "(local files)"
     *        title given to you from a history query to remove all
     *        history information from local files.
     * @param aEntireDomain
     *        If true, will also delete pages from sub hosts (so if
     *        passed in "microsoft.com" will delete "www.microsoft.com",
     *        "msdn.microsoft.com", etc.).
     *
     * @note The removal happens in a batch.
     */

void removePagesFromHost (in AUTF8String aHost, in boolean aEntireDomain);

[src]

/**
     * Removes all pages for a given timeframe.
     * Limits are included: aBeginTime <= timeframe <= aEndTime
     *
     * @param aBeginTime
     *        Microseconds from epoch, representing the initial time.
     * @param aEndTime
     *        Microseconds from epoch, representing the final time.
     *
     * @note The removal happens in a batch.
     */

void removePagesByTimeframe (in PRTime aBeginTime, in PRTime aEndTime);

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

IID: nsIID = nsID(550704249, 14558, 18932, [147, 0, 86, 109, 110, 131, 76, 102])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIBrowserHistory
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.