Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/accessible/interfaces/nsIAccessibleTextLeafRange.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIAccessibleTextLeafPoint",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* attribute nsIAccessible accessible; */
Method {
name: "GetAccessible",
params: &[Param { name: "aAccessible", ty: "*mut*const nsIAccessible" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetAccessible",
params: &[Param { name: "aAccessible", ty: "*const nsIAccessible" }],
ret: "::nserror::nsresult",
},
/* attribute long offset; */
Method {
name: "GetOffset",
params: &[Param { name: "aOffset", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetOffset",
params: &[Param { name: "aOffset", ty: "i32" }],
ret: "::nserror::nsresult",
},
/* nsIAccessibleTextLeafPoint findBoundary (in AccessibleTextBoundary aBoundaryType, in unsigned long aDirection, in unsigned long aFlags); */
Method {
name: "FindBoundary",
params: &[Param { name: "aBoundaryType", ty: "AccessibleTextBoundary" }, Param { name: "aDirection", ty: "u32" }, Param { name: "aFlags", ty: "u32" }, Param { name: "_retval", ty: "*mut *const nsIAccessibleTextLeafPoint" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}