Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITouchBarInput.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITouchBarInputCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onCommand (); */
Method {
name: "OnCommand",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsITouchBarInput",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString key; */
Method {
name: "GetKey",
params: &[Param { name: "aKey", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute AString title; */
Method {
name: "GetTitle",
params: &[Param { name: "aTitle", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetTitle",
params: &[Param { name: "aTitle", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute nsIURI image; */
Method {
name: "GetImage",
params: &[Param { name: "aImage", ty: "*mut *const nsIURI" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetImage",
params: &[Param { name: "aImage", ty: "*const nsIURI" }],
ret: "::nserror::nsresult",
},
/* attribute AString type; */
Method {
name: "GetType",
params: &[Param { name: "aType", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetType",
params: &[Param { name: "aType", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute nsITouchBarInputCallback callback; */
Method {
name: "GetCallback",
params: &[Param { name: "aCallback", ty: "*mut *const nsITouchBarInputCallback" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetCallback",
params: &[Param { name: "aCallback", ty: "*const nsITouchBarInputCallback" }],
ret: "::nserror::nsresult",
},
/* attribute uint32_t color; */
Method {
name: "GetColor",
params: &[Param { name: "aColor", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetColor",
params: &[Param { name: "aColor", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* attribute boolean disabled; */
Method {
name: "GetDisabled",
params: &[Param { name: "aDisabled", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetDisabled",
params: &[Param { name: "aDisabled", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* attribute nsIArray children; */
Method {
name: "GetChildren",
params: &[Param { name: "aChildren", ty: "*mut *const nsIArray" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetChildren",
params: &[Param { name: "aChildren", ty: "*const nsIArray" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}