Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/windowwatcher/nsIDialogParamBlock.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIDialogParamBlock",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* int32_t GetInt (in int32_t inIndex); */
Method {
name: "GetInt",
params: &[Param { name: "inIndex", ty: "i32" }, Param { name: "_retval", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* void SetInt (in int32_t inIndex, in int32_t inInt); */
Method {
name: "SetInt",
params: &[Param { name: "inIndex", ty: "i32" }, Param { name: "inInt", ty: "i32" }],
ret: "::nserror::nsresult",
},
/* void SetNumberStrings (in int32_t inNumStrings); */
Method {
name: "SetNumberStrings",
params: &[Param { name: "inNumStrings", ty: "i32" }],
ret: "::nserror::nsresult",
},
/* wstring GetString (in int32_t inIndex); */
Method {
name: "GetString",
params: &[Param { name: "inIndex", ty: "i32" }, Param { name: "_retval", ty: "*mut *const u16" }],
ret: "::nserror::nsresult",
},
/* void SetString (in int32_t inIndex, in wstring inString); */
Method {
name: "SetString",
params: &[Param { name: "inIndex", ty: "i32" }, Param { name: "inString", ty: "*const u16" }],
ret: "::nserror::nsresult",
},
/* attribute nsIMutableArray objects; */
Method {
name: "GetObjects",
params: &[Param { name: "aObjects", ty: "*mut*const nsIMutableArray" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetObjects",
params: &[Param { name: "aObjects", ty: "*const nsIMutableArray" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}