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

external format plugin support

This commit is contained in:
Nikolay Pultsin 2014-07-01 18:02:46 +01:00
parent 53c76e7baa
commit 41f6224342
2 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,31 @@
/*
* Copyright (C) 2007-2014 Geometer Plus <contact@geometerplus.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
package org.geometerplus.fbreader.formats;
public abstract class ExternalFormatPlugin extends FormatPlugin {
protected ExternalFormatPlugin(String fileType) {
super(fileType);
}
@Override
public Type type() {
return EXTERNAL;
}
}

View file

@ -59,8 +59,8 @@ public abstract class FormatPlugin {
ANY(false),
JAVA(true),
NATIVE(true),
PLUGIN(false),
EXTERNAL(false),
EXTERNAL_PROGRAM(false),
NONE(false);
public final boolean Builtin;