Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/docshell/base/nsIRefreshURI.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIRefreshURI",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void refreshURI (in nsIURI aURI, in nsIPrincipal aPrincipal, in unsigned long aMillis); */
Method {
name: "RefreshURI",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aMillis", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* void forceRefreshURI (in nsIURI aURI, in nsIPrincipal aPrincipal, in unsigned long aMillis); */
Method {
name: "ForceRefreshURI",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aPrincipal", ty: "*const nsIPrincipal" }, Param { name: "aMillis", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* void cancelRefreshURITimers (); */
Method {
name: "CancelRefreshURITimers",
params: &[],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean refreshPending; */
Method {
name: "GetRefreshPending",
params: &[Param { name: "aRefreshPending", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}