Struct xpcom::interfaces::nsIBrowserHistory
[−]
[src]
#[repr(C)]pub struct nsIBrowserHistory { /* fields omitted */ }
interface nsIBrowserHistory : nsISupports
Methods
impl nsIBrowserHistory
[src]
pub fn coerce<T: nsIBrowserHistoryCoerce>(&self) -> &T
[src]
Cast this nsIBrowserHistory
to one of its base interfaces.
impl nsIBrowserHistory
[src]
pub unsafe fn RemovePagesFromHost(
&self,
aHost: &nsACString,
aEntireDomain: bool
) -> nsresult
[src]
&self,
aHost: &nsACString,
aEntireDomain: bool
) -> nsresult
/**
* 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);
pub unsafe fn RemovePagesByTimeframe(
&self,
aBeginTime: PRTime,
aEndTime: PRTime
) -> nsresult
[src]
&self,
aBeginTime: PRTime,
aEndTime: PRTime
) -> nsresult
/**
* 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>
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 nsIBrowserHistory
[src]
const IID: nsIID
IID: nsIID = nsID(550704249, 14558, 18932, [147, 0, 86, 109, 110, 131, 76, 102])
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 nsIBrowserHistory
[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 nsIBrowserHistory
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.