4 #ifndef DJINNI_GENERATED_ACCOUNT_HPP_JNI_ 5 #define DJINNI_GENERATED_ACCOUNT_HPP_JNI_ 7 #include "../../api/Account.hpp" 8 #include "djinni_support.hpp" 14 using CppType = std::shared_ptr<::ledger::core::api::Account>;
15 using CppOptType = std::shared_ptr<::ledger::core::api::Account>;
16 using JniType = jobject;
22 static CppType toCpp(JNIEnv* jniEnv, JniType j) { return ::djinni::JniClass<Account>::get()._fromJava(jniEnv, j); }
23 static ::djinni::LocalRef<JniType> fromCppOpt(JNIEnv* jniEnv,
const CppOptType& c) {
return {jniEnv,
::djinni::JniClass<Account>::get()._toJava(jniEnv, c)}; }
24 static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv,
const CppType& c) {
return fromCppOpt(jniEnv, c); }
28 friend ::djinni::JniClass<Account>;
29 friend ::djinni::JniInterface<::ledger::core::api::Account, Account>;
34 #endif //DJINNI_GENERATED_ACCOUNT_HPP_JNI_ Definition: Account.cpp:22
Definition: djinni_support.hpp:223
Definition: Account.hpp:12
Definition: djinni_support.hpp:379