mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
formatting
This commit is contained in:
parent
72c85142dd
commit
aeea00b963
1 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,11 @@ const std::string TxtPlugin::supportedFileType() const {
|
||||||
return "plain text";
|
return "plain text";
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TxtPlugin::readMetaInfo(Book &book) const {
|
bool TxtPlugin::readMetaInfo(Book &/*book*/) const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool TxtPlugin::readUids(Book &/*book*/) const {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,10 +69,6 @@ bool TxtPlugin::readModel(BookModel &model) const {
|
||||||
// return new PlainTextInfoPage(dialog, file, ZLResourceKey("Text"), true);
|
// return new PlainTextInfoPage(dialog, file, ZLResourceKey("Text"), true);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
bool TxtPlugin::readUids(Book &/*book*/) const {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TxtPlugin::readLanguageAndEncoding(Book &book) const {
|
bool TxtPlugin::readLanguageAndEncoding(Book &book) const {
|
||||||
shared_ptr<ZLInputStream> stream = book.file().inputStream();
|
shared_ptr<ZLInputStream> stream = book.file().inputStream();
|
||||||
if (stream.isNull()) {
|
if (stream.isNull()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue