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:
parent
8121d5c6f8
commit
cf13daad1c
46 changed files with 210 additions and 157 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue