1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

SystemInfo in plugins

This commit is contained in:
Nikolay Pultsin 2015-08-05 12:00:46 +01:00
parent 8121d5c6f8
commit cf13daad1c
46 changed files with 210 additions and 157 deletions

View file

@ -27,13 +27,16 @@ import org.geometerplus.zlibrary.core.encodings.EncodingCollection;
import org.geometerplus.zlibrary.core.filesystem.ZLFile;
import org.geometerplus.zlibrary.core.image.ZLImage;
import org.geometerplus.zlibrary.core.resources.ZLResource;
import org.geometerplus.zlibrary.core.util.SystemInfo;
import org.geometerplus.fbreader.book.AbstractBook;
public abstract class FormatPlugin {
protected final SystemInfo SystemInfo;
private final String myFileType;
protected FormatPlugin(String fileType) {
protected FormatPlugin(SystemInfo systemInfo, String fileType) {
SystemInfo = systemInfo;
myFileType = fileType;
}