Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/autocomplete/nsIAutoCompleteSearch.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIAutoCompleteSearch",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void startSearch (in AString searchString, in AString searchParam, in nsIAutoCompleteResult previousResult, in nsIAutoCompleteObserver listener); */
Method {
name: "StartSearch",
params: &[Param { name: "searchString", ty: "*const ::nsstring::nsAString" }, Param { name: "searchParam", ty: "*const ::nsstring::nsAString" }, Param { name: "previousResult", ty: "*const nsIAutoCompleteResult" }, Param { name: "listener", ty: "*const nsIAutoCompleteObserver" }],
ret: "::nserror::nsresult",
},
/* void stopSearch (); */
Method {
name: "StopSearch",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIAutoCompleteObserver",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [can_run_script] void onSearchResult (in nsIAutoCompleteSearch search, in nsIAutoCompleteResult result); */
Method {
name: "OnSearchResult",
params: &[Param { name: "search", ty: "*const nsIAutoCompleteSearch" }, Param { name: "result", ty: "*const nsIAutoCompleteResult" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}