Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/interfaces/notification/nsINotificationStorage.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsINotificationActionStorageEntry",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString name; */
Method {
name: "GetName",
params: &[Param { name: "aName", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString title; */
Method {
name: "GetTitle",
params: &[Param { name: "aTitle", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsINotificationStorageEntry",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString id; */
Method {
name: "GetId",
params: &[Param { name: "aId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString title; */
Method {
name: "GetTitle",
params: &[Param { name: "aTitle", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString dir; */
Method {
name: "GetDir",
params: &[Param { name: "aDir", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString lang; */
Method {
name: "GetLang",
params: &[Param { name: "aLang", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString body; */
Method {
name: "GetBody",
params: &[Param { name: "aBody", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString tag; */
Method {
name: "GetTag",
params: &[Param { name: "aTag", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString icon; */
Method {
name: "GetIcon",
params: &[Param { name: "aIcon", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean requireInteraction; */
Method {
name: "GetRequireInteraction",
params: &[Param { name: "aRequireInteraction", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean silent; */
Method {
name: "GetSilent",
params: &[Param { name: "aSilent", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString dataSerialized; */
Method {
name: "GetDataSerialized",
params: &[Param { name: "aDataSerialized", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<nsINotificationActionStorageEntry> actions; */
Method {
name: "GetActions",
params: &[Param { name: "aActions", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsINotificationActionStorageEntry>>>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString serviceWorkerRegistrationScope; */
Method {
name: "GetServiceWorkerRegistrationScope",
params: &[Param { name: "aServiceWorkerRegistrationScope", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsINotificationStorageCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void done (in Array<nsINotificationStorageEntry> aEntries); */
Method {
name: "Done",
params: &[Param { name: "aEntries", ty: "*const thin_vec::ThinVec<Option<RefPtr<nsINotificationStorageEntry>>>" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsINotificationStorage",
base: Some("nsISupports"),
sync: false,
methods: Err("special type promise unsupported"),
},
]; D}