Confirmed users, Bureaucrats and Sysops emeriti
722
edits
GavinSharp (talk | contribs) mNo edit summary |
GavinSharp (talk | contribs) No edit summary |
||
| Line 44: | Line 44: | ||
* Supported search engine types. | * Supported search engine types. | ||
*/ | */ | ||
const unsigned long | const unsigned long TYPE_MOZSEARCH = 1; | ||
const unsigned long TYPE_SHERLOCK = 2; | const unsigned long TYPE_SHERLOCK = 2; | ||
const unsigned long TYPE_OPENSEARCH = 3; | |||
/** | /** | ||
| Line 114: | Line 115: | ||
* Must be a case insensitive value of either "get" or "post". | * Must be a case insensitive value of either "get" or "post". | ||
* @param template | * @param template | ||
* The URL to which search queries should be sent | * The URL to which search queries should be sent. | ||
*/ | */ | ||
void addEngineWithDetails(in AString name, | void addEngineWithDetails(in AString name, | ||