Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/EventDispatcherWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char EventDispatcher::name[] =
"org/mozilla/gecko/EventDispatcher";
constexpr char EventDispatcher::ByName_t::name[];
constexpr char EventDispatcher::ByName_t::signature[];
auto EventDispatcher::ByName(mozilla::jni::String::Param a0) -> EventDispatcher::LocalRef
{
return mozilla::jni::Method<ByName_t>::Call(EventDispatcher::Context(), nullptr, a0);
}
constexpr char EventDispatcher::DispatchToGecko_t::name[];
constexpr char EventDispatcher::DispatchToGecko_t::signature[];
constexpr char EventDispatcher::DispatchToThreads_t::name[];
constexpr char EventDispatcher::DispatchToThreads_t::signature[];
auto EventDispatcher::DispatchToThreads(mozilla::jni::String::Param a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2) const -> bool
{
return mozilla::jni::Method<DispatchToThreads_t>::Call(EventDispatcher::mCtx, nullptr, a0, a1, a2);
}
constexpr char EventDispatcher::DisposeNative_t::name[];
constexpr char EventDispatcher::DisposeNative_t::signature[];
constexpr char EventDispatcher::GetInstance_t::name[];
constexpr char EventDispatcher::GetInstance_t::signature[];
auto EventDispatcher::GetInstance() -> EventDispatcher::LocalRef
{
return mozilla::jni::Method<GetInstance_t>::Call(EventDispatcher::Context(), nullptr);
}
constexpr char EventDispatcher::HasGeckoListener_t::name[];
constexpr char EventDispatcher::HasGeckoListener_t::signature[];
constexpr char EventDispatcher::HasListener_t::name[];
constexpr char EventDispatcher::HasListener_t::signature[];
auto EventDispatcher::HasListener(mozilla::jni::String::Param a0) const -> bool
{
return mozilla::jni::Method<HasListener_t>::Call(EventDispatcher::mCtx, nullptr, a0);
}
constexpr char EventDispatcher::SetAttachedToGecko_t::name[];
constexpr char EventDispatcher::SetAttachedToGecko_t::signature[];
auto EventDispatcher::SetAttachedToGecko(int32_t a0) const -> void
{
return mozilla::jni::Method<SetAttachedToGecko_t>::Call(EventDispatcher::mCtx, nullptr, a0);
}
constexpr char EventDispatcher::Shutdown_t::name[];
constexpr char EventDispatcher::Shutdown_t::signature[];
const char EventDispatcher::NativeCallbackDelegate::name[] =
"org/mozilla/gecko/EventDispatcher$NativeCallbackDelegate";
constexpr char EventDispatcher::NativeCallbackDelegate::New_t::name[];
constexpr char EventDispatcher::NativeCallbackDelegate::New_t::signature[];
auto EventDispatcher::NativeCallbackDelegate::New() -> NativeCallbackDelegate::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(NativeCallbackDelegate::Context(), nullptr);
}
constexpr char EventDispatcher::NativeCallbackDelegate::Finalize_t::name[];
constexpr char EventDispatcher::NativeCallbackDelegate::Finalize_t::signature[];
constexpr char EventDispatcher::NativeCallbackDelegate::SendError_t::name[];
constexpr char EventDispatcher::NativeCallbackDelegate::SendError_t::signature[];
constexpr char EventDispatcher::NativeCallbackDelegate::SendSuccess_t::name[];
constexpr char EventDispatcher::NativeCallbackDelegate::SendSuccess_t::signature[];
} /* java */
} /* mozilla */