mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Add methods for getting json from reading lists and labels(tags)
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include <QtCore>
|
||||
#include "folder.h"
|
||||
#include "comic_db.h"
|
||||
#include "reading_list.h"
|
||||
|
||||
class YACReaderServerDataHelper
|
||||
{
|
||||
@ -14,6 +15,9 @@ public:
|
||||
static QJsonObject folderToJSON(const qulonglong libraryId, const Folder & folder);
|
||||
static QJsonObject comicToJSON(const qulonglong libraryId, const ComicDB & comic);
|
||||
static QJsonObject fullComicToJSON(const qulonglong libraryId, const ComicDB & comic);
|
||||
static QJsonObject readingListToJSON(const qulonglong libraryId, const ReadingList & readingList);
|
||||
static QJsonObject labelToJSON(const qulonglong libraryId, const Label & label);
|
||||
|
||||
|
||||
private:
|
||||
YACReaderServerDataHelper();
|
||||
|
Reference in New Issue
Block a user