4 #ifndef DJINNI_GENERATED_ACCOUNTLISTCALLBACK_HPP_JNI_ 5 #define DJINNI_GENERATED_ACCOUNTLISTCALLBACK_HPP_JNI_ 7 #include "../../api/AccountListCallback.hpp" 8 #include "djinni_support.hpp" 14 using CppType = std::shared_ptr<::ledger::core::api::AccountListCallback>;
15 using CppOptType = std::shared_ptr<::ledger::core::api::AccountListCallback>;
16 using JniType = jobject;
22 static CppType toCpp(JNIEnv* jniEnv, JniType j) { return ::djinni::JniClass<AccountListCallback>::get()._fromJava(jniEnv, j); }
24 static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv,
const CppType& c) {
return fromCppOpt(jniEnv, c); }
28 friend ::djinni::JniClass<AccountListCallback>;
29 friend ::djinni::JniInterface<::ledger::core::api::AccountListCallback, AccountListCallback>;
40 friend ::djinni::JniInterface<::ledger::core::api::AccountListCallback, ::djinni_generated::AccountListCallback>;
43 const ::djinni::GlobalRef<jclass> clazz { ::djinni::jniFindClass(
"co/ledger/core/AccountListCallback") };
44 const jmethodID method_onCallback { ::djinni::jniGetMethodID(clazz.get(),
"onCallback",
"(Ljava/util/ArrayList;Lco/ledger/core/Error;)V") };
48 #endif //DJINNI_GENERATED_ACCOUNTLISTCALLBACK_HPP_JNI_ Definition: AccountListCallback.hpp:12
Definition: Account.cpp:22
Definition: proxy_cache_interface.hpp:131
Definition: djinni_support.hpp:223
Definition: djinni_support.hpp:379
Definition: AccountListCallback.hpp:24
Definition: optional.hpp:177