Confirmed users, Bureaucrats and Sysops emeriti
722
edits
GavinSharp (talk | contribs) mNo edit summary |
GavinSharp (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
This is the proposed API for the the new Firefox search service. Please comment on the discussion page or in the bug itself. | This is the proposed API for the the new Firefox search service. Please comment on the discussion page or in the bug itself. | ||
=nsISearchSubmission= | |||
interface nsISearchSubmission : nsISupports | interface nsISearchSubmission : nsISupports | ||
{ | { | ||
| Line 15: | Line 16: | ||
}; | }; | ||
=nsISearchEngine= | |||
interface nsISearchEngine : nsISupports | interface nsISearchEngine : nsISupports | ||
{ | { | ||
| Line 27: | Line 29: | ||
*/ | */ | ||
nsISearchSubmission getSubmission(in AString aData); | nsISearchSubmission getSubmission(in AString aData); | ||
/** | |||
* Adds a parameter to the search engine's submission data. | |||
* @param name | |||
* The parameter's name. | |||
* @param value | |||
* The value to pass. This can be one of the | |||
*/ | |||
void addParam(in AString name, in AString value); | |||
/** | /** | ||
| Line 66: | Line 77: | ||
}; | }; | ||
=nsISearchService= | |||
interface nsISearchService : nsISupports | interface nsISearchService : nsISupports | ||
{ | { | ||