summaryrefslogtreecommitdiff
path: root/src/bookmarks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks.h')
-rw-r--r--src/bookmarks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bookmarks.h b/src/bookmarks.h
index 26bd9a47..be2a4cfd 100644
--- a/src/bookmarks.h
+++ b/src/bookmarks.h
@@ -39,6 +39,7 @@ struct Impl_Bookmark {
39 iString tags; 39 iString tags;
40 iChar icon; 40 iChar icon;
41 iTime when; 41 iTime when;
42 uint32_t sourceId; /* remote */
42}; 43};
43 44
44iLocalDef uint32_t id_Bookmark (const iBookmark *d) { return d->node.key; } 45iLocalDef uint32_t id_Bookmark (const iBookmark *d) { return d->node.key; }
@@ -59,7 +60,7 @@ void save_Bookmarks (const iBookmarks *, const char *dirPath);
59void fetchRemote_Bookmarks (iBookmarks *); 60void fetchRemote_Bookmarks (iBookmarks *);
60void requestFinished_Bookmarks (iBookmarks *, iGmRequest *req); 61void requestFinished_Bookmarks (iBookmarks *, iGmRequest *req);
61 62
62void add_Bookmarks (iBookmarks *, const iString *url, const iString *title, 63uint32_t add_Bookmarks (iBookmarks *, const iString *url, const iString *title,
63 const iString *tags, iChar icon); 64 const iString *tags, iChar icon);
64iBool remove_Bookmarks (iBookmarks *, uint32_t id); 65iBool remove_Bookmarks (iBookmarks *, uint32_t id);
65iBool updateBookmarkIcon_Bookmarks (iBookmarks *, const iString *url, iChar icon); 66iBool updateBookmarkIcon_Bookmarks (iBookmarks *, const iString *url, iChar icon);