diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-16 21:40:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-16 21:55:45 +0200 |
commit | 198be208d49990c3535ac765735768ad1ae79c1b (patch) | |
tree | 98b3ef03f55e0f08893cdd6713effbf54f10f11f /lib/bookmarks/formats/ffjson.h | |
parent | Move BookmarksWidget out of libbookmarks (diff) | |
download | smolbote-198be208d49990c3535ac765735768ad1ae79c1b.tar.xz |
Add Firefox bookmarks.json format to libbookmarks
- can only read folders and bookmarks, their title and uri fields
Not supported by Bookmark Model:
- Separator items
- Date added and Date modified fields
Diffstat (limited to 'lib/bookmarks/formats/ffjson.h')
-rw-r--r-- | lib/bookmarks/formats/ffjson.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/bookmarks/formats/ffjson.h b/lib/bookmarks/formats/ffjson.h new file mode 100644 index 0000000..cc6ac24 --- /dev/null +++ b/lib/bookmarks/formats/ffjson.h @@ -0,0 +1,19 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef FFJSON_H +#define FFJSON_H + +class QIODevice; +class BookmarkItem; +namespace FFJson +{ +void read(QIODevice *device, BookmarkItem *item); +} + +#endif // FFJSON_H |