Bug 266174, r=bryner. Add query serialization/deserialization
Original committer: brettw%gmail.com Original revision: 1.3 Original date: 2005/11/17 21:38:57 git-svn-id: svn://10.0.0.236/trunk@202849 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
75cc9bd1b8
commit
40774f628e
@ -448,6 +448,22 @@ interface nsINavHistory : nsISupports
|
||||
[const,array,size_is(aQueryCount)] in nsINavHistoryQuery aQueries, in PRUint32 aQueryCount,
|
||||
in nsINavHistoryQueryOptions options);
|
||||
|
||||
/**
|
||||
* Converts a query URI-like string to an array of actual query objects for
|
||||
* use to executeQueries().
|
||||
*/
|
||||
void queryStringToQueries(in AUTF8String aQueryString,
|
||||
[array, size_is(aResultCount)] out nsINavHistoryQuery aQueries, out PRUint32 aResultCount,
|
||||
out nsINavHistoryQueryOptions options);
|
||||
|
||||
/**
|
||||
* Converts a query into an equivalent string that can be persisted. Inverse
|
||||
* of queryStringToQueries()
|
||||
*/
|
||||
AUTF8String queriesToQueryString(
|
||||
[const, array, size_is(aQueryCount)] in nsINavHistoryQuery aQueries, in PRUint32 aQueryCount,
|
||||
in nsINavHistoryQueryOptions options);
|
||||
|
||||
/**
|
||||
* Adds a history observer. The history service will keep an owning
|
||||
* reference to the observer.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user