mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
NativeFormatPlugin::createImage() method is unused; native version is obfuscated
Conflicts: jni/NativeFormats/util/AndroidUtil.cpp
This commit is contained in:
parent
e4bda14635
commit
96aadc1562
2 changed files with 0 additions and 7 deletions
|
@ -159,7 +159,6 @@ bool AndroidUtil::init(JavaVM* jvm) {
|
||||||
CHECK_NULL( cls = env->FindClass(Class_NativeFormatPlugin) );
|
CHECK_NULL( cls = env->FindClass(Class_NativeFormatPlugin) );
|
||||||
CHECK_NULL( MID_NativeFormatPlugin_init = env->GetMethodID(cls, "<init>", "(Ljava/lang/String;)V") );
|
CHECK_NULL( MID_NativeFormatPlugin_init = env->GetMethodID(cls, "<init>", "(Ljava/lang/String;)V") );
|
||||||
CHECK_NULL( MID_NativeFormatPlugin_supportedFileType = env->GetMethodID(cls, "supportedFileType", "()Ljava/lang/String;") );
|
CHECK_NULL( MID_NativeFormatPlugin_supportedFileType = env->GetMethodID(cls, "supportedFileType", "()Ljava/lang/String;") );
|
||||||
//CHECK_NULL( SMID_NativeFormatPlugin_createImage = env->GetStaticMethodID(cls, "createImage", "(Ljava/lang/String;Ljava/lang/String;II)Lorg/geometerplus/zlibrary/core/image/ZLImage;") );
|
|
||||||
env->DeleteLocalRef(cls);
|
env->DeleteLocalRef(cls);
|
||||||
|
|
||||||
CHECK_NULL( cls = env->FindClass(Class_PluginCollection) );
|
CHECK_NULL( cls = env->FindClass(Class_PluginCollection) );
|
||||||
|
|
|
@ -81,12 +81,6 @@ public class NativeFormatPlugin extends FormatPlugin {
|
||||||
|
|
||||||
protected native void readCoverInternal(ZLFile file, ZLImage[] box);
|
protected native void readCoverInternal(ZLFile file, ZLImage[] box);
|
||||||
|
|
||||||
/*
|
|
||||||
public static ZLImage createImage(String mimeType, String fileName, int offset, int length) {
|
|
||||||
return new ZLFileImage(MimeType.get(mimeType), ZLFile.createFileByPath(fileName), offset, length);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// FIXME: temporary implementation; implement as a native code
|
// FIXME: temporary implementation; implement as a native code
|
||||||
@Override
|
@Override
|
||||||
public String readAnnotation(ZLFile file) {
|
public String readAnnotation(ZLFile file) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue