diff options
Diffstat (limited to 'lib/bookmarks/xbel.h')
-rw-r--r-- | lib/bookmarks/xbel.h | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/lib/bookmarks/xbel.h b/lib/bookmarks/xbel.h index e38ae98..9be7dd4 100644 --- a/lib/bookmarks/xbel.h +++ b/lib/bookmarks/xbel.h @@ -6,32 +6,15 @@ * SPDX-License-Identifier: GPL-3.0 */ -#ifndef XBELREADER_H -#define XBELREADER_H +#ifndef XBEL_H +#define XBEL_H -#include "bookmarksview.h" -#include <QString> -#include <QXmlStreamReader> -#include "bookmarkmodel.h" - -class BookmarkModel; -class XbelReader -{ -public: - explicit XbelReader(QIODevice *file); - void read(BookmarkItem *model); - -private: - QIODevice *m_file; -}; - -class XbelWriter +class QIODevice; +class BookmarkItem; +namespace Xbel { -public: - explicit XbelWriter(); - void write(QIODevice *device, const BookmarkItem *item); - -private: +void read(QIODevice *device, BookmarkItem *model); +void write(QIODevice *device, const BookmarkItem *item); }; -#endif // XBELREADER_H +#endif // XBEL_H |