Extract opening a comic from YACReaderLibrary to its own file

And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
This commit is contained in:
Luis Ángel San Martín
2021-05-27 18:48:52 +02:00
parent f9285bd099
commit 945b24a8f8
7 changed files with 86 additions and 33 deletions

View File

@ -0,0 +1,18 @@
#ifndef LIBRARYCOMICOPENER_H
#define LIBRARYCOMICOPENER_H
#include "yacreader_global.h"
class ComicDB;
class QString;
namespace YACReader {
bool openComic(const ComicDB &comic,
unsigned long long libraryId,
const QString &path,
OpenComicSource source);
}
#endif // LIBRARYCOMICOPENER_H