mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
pass font file names to java style
This commit is contained in:
parent
fcd2640be7
commit
ccd1c34858
11 changed files with 102 additions and 11 deletions
|
@ -146,6 +146,7 @@ public:
|
|||
static shared_ptr<VoidMethod> Method_NativeBookModel_setFootnoteModel;
|
||||
static shared_ptr<VoidMethod> Method_NativeBookModel_addImage;
|
||||
static shared_ptr<VoidMethod> Method_NativeBookModel_registerFontFamilyList;
|
||||
static shared_ptr<VoidMethod> Method_NativeBookModel_registerFontEntry;
|
||||
|
||||
//static shared_ptr<StaticObjectMethod> StaticMethod_BookReadingException_throwForFile;
|
||||
|
||||
|
@ -154,6 +155,7 @@ public:
|
|||
static JNIEnv *getEnv();
|
||||
|
||||
static std::string fromJavaString(JNIEnv *env, jstring from);
|
||||
static jstring createJavaString(JNIEnv* env, shared_ptr<std::string>);
|
||||
static jstring createJavaString(JNIEnv* env, const std::string &str);
|
||||
static std::string convertNonUtfString(const std::string &str);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue