Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIStandaloneNativeMenu.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIStandaloneNativeMenu",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void init (in Element aElement); */
Method {
name: "Init",
params: &[Param { name: "aElement", ty: "*const libc::c_void" }],
ret: "::nserror::nsresult",
},
/* boolean menuWillOpen (); */
Method {
name: "MenuWillOpen",
params: &[Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void activateNativeMenuItemAt (in AString anIndexString); */
Method {
name: "ActivateNativeMenuItemAt",
params: &[Param { name: "anIndexString", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void forceUpdateNativeMenuAt (in AString anIndexString); */
Method {
name: "ForceUpdateNativeMenuAt",
params: &[Param { name: "anIndexString", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void dump (); */
Method {
name: "Dump",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}