mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
synchronization with native branch
This commit is contained in:
parent
6a055fc0ef
commit
533cbfe2f4
2 changed files with 17 additions and 0 deletions
|
@ -19,4 +19,15 @@
|
|||
|
||||
#include "AndroidUtil.h"
|
||||
|
||||
JavaVM *AndroidUtil::ourJavaVM = 0;
|
||||
|
||||
const char * const AndroidUtil::Class_NativeFormatPlugin = "org/geometerplus/fbreader/formats/NativeFormatPlugin";
|
||||
const char * const AndroidUtil::Class_PluginCollection = "org/geometerplus/fbreader/formats/PluginCollection";
|
||||
|
||||
jmethodID AndroidUtil::SMID_PluginCollection_Instance;
|
||||
|
||||
JNIEnv *AndroidUtil::getEnv() {
|
||||
JNIEnv *env;
|
||||
ourJavaVM->GetEnv((void **)&env, JNI_VERSION_1_2);
|
||||
return env;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue