Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/threads/nsITimer.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITimerCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void notify (in nsITimer timer); */
Method {
name: "Notify",
params: &[Param { name: "timer", ty: "*const nsITimer" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsITimer",
base: Some("nsISupports"),
sync: false,
methods: Err("native type mozilla::TimeDuration unsupported"),
},
Interface {
name: "nsITimerManager",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* Array<nsITimer> getTimers (); */
Method {
name: "GetTimers",
params: &[Param { name: "_retval", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsITimer>>>" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}