Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/accessible/interfaces/nsIAccessibleTextRange.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIAccessibleTextRange",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsIAccessibleText startContainer; */
Method {
name: "GetStartContainer",
params: &[Param { name: "aStartContainer", ty: "*mut*const nsIAccessibleText" }],
ret: "::nserror::nsresult",
},
/* readonly attribute long startOffset; */
Method {
name: "GetStartOffset",
params: &[Param { name: "aStartOffset", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIAccessibleText endContainer; */
Method {
name: "GetEndContainer",
params: &[Param { name: "aEndContainer", ty: "*mut*const nsIAccessibleText" }],
ret: "::nserror::nsresult",
},
/* readonly attribute long endOffset; */
Method {
name: "GetEndOffset",
params: &[Param { name: "aEndOffset", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIAccessible container; */
Method {
name: "GetContainer",
params: &[Param { name: "aContainer", ty: "*mut*const nsIAccessible" }],
ret: "::nserror::nsresult",
},
/* boolean compare (in nsIAccessibleTextRange aOtherRange); */
Method {
name: "Compare",
params: &[Param { name: "aOtherRange", ty: "*const nsIAccessibleTextRange" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* long compareEndPoints (in unsigned long aEndPoint, in nsIAccessibleTextRange aOtherRange, in unsigned long aOtherRangeEndPoint); */
Method {
name: "CompareEndPoints",
params: &[Param { name: "aEndPoint", ty: "u32" }, Param { name: "aOtherRange", ty: "*const nsIAccessibleTextRange" }, Param { name: "aOtherRangeEndPoint", ty: "u32" }, Param { name: "_retval", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* boolean crop (in nsIAccessible aContainer); */
Method {
name: "Crop",
params: &[Param { name: "aContainer", ty: "*const nsIAccessible" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}