Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/places/nsINavBookmarksService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsINavBookmarksService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute long long tagsFolder; */
Method {
name: "GetTagsFolder",
params: &[Param { name: "aTagsFolder", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute long long totalSyncChanges; */
Method {
name: "GetTotalSyncChanges",
params: &[Param { name: "aTotalSyncChanges", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] long long insertBookmark (in long long aParentId, in nsIURI aURI, in long aIndex, in AUTF8String aTitle, [optional] in ACString aGuid, [optional] in unsigned short aSource); */
Method {
name: "InsertBookmark",
params: &[Param { name: "aParentId", ty: "i64" }, Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aIndex", ty: "i32" }, Param { name: "aTitle", ty: "*const ::nsstring::nsACString" }, Param { name: "aGuid", ty: "*const ::nsstring::nsACString" }, Param { name: "aSource", ty: "u16" }, Param { name: "_retval", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void removeItem (in long long aItemId, [optional] in unsigned short aSource); */
Method {
name: "RemoveItem",
params: &[Param { name: "aItemId", ty: "i64" }, Param { name: "aSource", ty: "u16" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] long long createFolder (in long long aParentFolder, in AUTF8String name, in long index, [optional] in ACString aGuid, [optional] in unsigned short aSource); */
Method {
name: "CreateFolder",
params: &[Param { name: "aParentFolder", ty: "i64" }, Param { name: "name", ty: "*const ::nsstring::nsACString" }, Param { name: "index", ty: "i32" }, Param { name: "aGuid", ty: "*const ::nsstring::nsACString" }, Param { name: "aSource", ty: "u16" }, Param { name: "_retval", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void setItemTitle (in long long aItemId, in AUTF8String aTitle, [optional] in unsigned short aSource); */
Method {
name: "SetItemTitle",
params: &[Param { name: "aItemId", ty: "i64" }, Param { name: "aTitle", ty: "*const ::nsstring::nsACString" }, Param { name: "aSource", ty: "u16" }],
ret: "::nserror::nsresult",
},
/* AUTF8String getItemTitle (in long long aItemId); */
Method {
name: "GetItemTitle",
params: &[Param { name: "aItemId", ty: "i64" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void setItemLastModified (in long long aItemId, in PRTime aLastModified, [optional] in unsigned short aSource); */
Method {
name: "SetItemLastModified",
params: &[Param { name: "aItemId", ty: "i64" }, Param { name: "aLastModified", ty: "PRTime" }, Param { name: "aSource", ty: "u16" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}