mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 12:00:17 +02:00
encryption type is visible from java code
This commit is contained in:
parent
480d3d1398
commit
2f75bb15d6
12 changed files with 76 additions and 19 deletions
|
@ -129,7 +129,7 @@ bool OEBPlugin::readMetaInfo(Book &book) const {
|
|||
return OEBMetaInfoReader(book).readMetaInfo(opfFile(file));
|
||||
}
|
||||
|
||||
std::string OEBPlugin::readEncryptionType(Book &book) const {
|
||||
const std::string &OEBPlugin::readEncryptionType(Book &book) const {
|
||||
return OEBEncryptionReader().readEncryptionInfo(epubFile(book.file()));
|
||||
}
|
||||
|
||||
|
@ -139,8 +139,6 @@ bool OEBPlugin::readUids(Book &book) const {
|
|||
}
|
||||
|
||||
bool OEBPlugin::readModel(BookModel &model) const {
|
||||
ZLLogger::Instance().registerClass("encryption");
|
||||
ZLLogger::Instance().println("encryption", "ENCRYPTION TYPE = " + readEncryptionType(*model.book()));
|
||||
const ZLFile &file = model.book()->file();
|
||||
return OEBBookReader(model).readBook(opfFile(file));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue