Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/workers/nsIWorkerDebuggerManager.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWorkerDebuggerManagerListener",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onRegister (in nsIWorkerDebugger aDebugger); */
Method {
name: "OnRegister",
params: &[Param { name: "aDebugger", ty: "*const nsIWorkerDebugger" }],
ret: "::nserror::nsresult",
},
/* void onUnregister (in nsIWorkerDebugger aDebugger); */
Method {
name: "OnUnregister",
params: &[Param { name: "aDebugger", ty: "*const nsIWorkerDebugger" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWorkerDebuggerManager",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* nsISimpleEnumerator getWorkerDebuggerEnumerator (); */
Method {
name: "GetWorkerDebuggerEnumerator",
params: &[Param { name: "_retval", ty: "*mut*const nsISimpleEnumerator" }],
ret: "::nserror::nsresult",
},
/* void addListener (in nsIWorkerDebuggerManagerListener listener); */
Method {
name: "AddListener",
params: &[Param { name: "listener", ty: "*const nsIWorkerDebuggerManagerListener" }],
ret: "::nserror::nsresult",
},
/* void removeListener (in nsIWorkerDebuggerManagerListener listener); */
Method {
name: "RemoveListener",
params: &[Param { name: "listener", ty: "*const nsIWorkerDebuggerManagerListener" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}