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