Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/profile/nsIToolkitProfile.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIProfileLock",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsIFile directory; */
Method {
name: "GetDirectory",
params: &[Param { name: "aDirectory", ty: "*mut*const nsIFile" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIFile localDirectory; */
Method {
name: "GetLocalDirectory",
params: &[Param { name: "aLocalDirectory", ty: "*mut*const nsIFile" }],
ret: "::nserror::nsresult",
},
/* readonly attribute PRTime replacedLockTime; */
Method {
name: "GetReplacedLockTime",
params: &[Param { name: "aReplacedLockTime", ty: "*mut PRTime" }],
ret: "::nserror::nsresult",
},
/* void unlock (); */
Method {
name: "Unlock",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIToolkitProfile",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [infallible] attribute nsIFile rootDir; */
Method {
name: "GetRootDir",
params: &[Param { name: "aRootDir", ty: "*mut*const nsIFile" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetRootDir",
params: &[Param { name: "aRootDir", ty: "*const nsIFile" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute nsIFile localDir; */
Method {
name: "GetLocalDir",
params: &[Param { name: "aLocalDir", ty: "*mut*const nsIFile" }],
ret: "::nserror::nsresult",
},
/* attribute AUTF8String name; */
Method {
name: "GetName",
params: &[Param { name: "aName", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetName",
params: &[Param { name: "aName", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* attribute AUTF8String storeID; */
Method {
name: "GetStoreID",
params: &[Param { name: "aStoreID", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetStoreID",
params: &[Param { name: "aStoreID", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* [infallible] attribute boolean showProfileSelector; */
Method {
name: "GetShowProfileSelector",
params: &[Param { name: "aShowProfileSelector", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetShowProfileSelector",
params: &[Param { name: "aShowProfileSelector", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void remove (in boolean removeFiles); */
Method {
name: "Remove",
params: &[Param { name: "removeFiles", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void removeInBackground (in boolean removeFiles); */
Method {
name: "RemoveInBackground",
params: &[Param { name: "removeFiles", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* nsIProfileLock lock (out nsIProfileUnlocker aUnlocker); */
Method {
name: "Lock",
params: &[Param { name: "aUnlocker", ty: "*mut*const nsIProfileUnlocker" }, Param { name: "_retval", ty: "*mut *const nsIProfileLock" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}