19 lines
445 B
C++
19 lines
445 B
C++
#ifndef BOOKMARKSTORE_H
|
|
#define BOOKMARKSTORE_H
|
|
|
|
#include <QObject>
|
|
#include <QStringList>
|
|
|
|
class BookmarkStore : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit BookmarkStore(QObject *parent = nullptr);
|
|
|
|
QStringList bookmarksForBook(const QString &bookId) const;
|
|
void addBookmark(const QString &bookId, const QString &bookmark);
|
|
void removeBookmark(const QString &bookId, const QString &bookmark);
|
|
};
|
|
|
|
#endif // BOOKMARKSTORE_H
|