Add new controller for requesting the "full" information for a comic.

For now it doesn't serve the full information, only the information shown in the current/next comic view in iOS. I will see if I create two separated controllers or just on sending all the information when more information is needed in another iOS view.
This commit is contained in:
Luis Ángel San Martín
2018-04-23 19:24:56 +02:00
parent b41884d5db
commit 20c7ecadd4
6 changed files with 97 additions and 6 deletions

View File

@ -11,8 +11,9 @@ public:
static QString folderToYSFormat(const qulonglong libraryId, const Folder & folder);
static QString comicToYSFormat(const qulonglong libraryId, const ComicDB & comic);
static QJsonObject folderToJSON(const qulonglong libraryId, const Folder & folder);
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);
private:
YACReaderServerDataHelper();