Copy as Markdown
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/GeckoThreadWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char GeckoThread::name[];
constexpr char GeckoThread::CheckAndSetState_t::name[];
constexpr char GeckoThread::CheckAndSetState_t::signature[];
auto GeckoThread::CheckAndSetState(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) -> bool
{
return mozilla::jni::Method<CheckAndSetState_t>::Call(GeckoThread::Context(), nullptr, a0, a1);
}
constexpr char GeckoThread::Crash_t::name[];
constexpr char GeckoThread::Crash_t::signature[];
constexpr char GeckoThread::ForceQuit_t::name[];
constexpr char GeckoThread::ForceQuit_t::signature[];
constexpr char GeckoThread::IsChildProcess_t::name[];
constexpr char GeckoThread::IsChildProcess_t::signature[];
auto GeckoThread::IsChildProcess() -> bool
{
return mozilla::jni::Method<IsChildProcess_t>::Call(GeckoThread::Context(), nullptr);
}
constexpr char GeckoThread::CreateServices_t::name[];
constexpr char GeckoThread::CreateServices_t::signature[];
constexpr char GeckoThread::OnPause_t::name[];
constexpr char GeckoThread::OnPause_t::signature[];
constexpr char GeckoThread::OnResume_t::name[];
constexpr char GeckoThread::OnResume_t::signature[];
constexpr char GeckoThread::PumpMessageLoop_t::name[];
constexpr char GeckoThread::PumpMessageLoop_t::signature[];
auto GeckoThread::PumpMessageLoop(mozilla::jni::Object::Param a0) -> bool
{
return mozilla::jni::Method<PumpMessageLoop_t>::Call(GeckoThread::Context(), nullptr, a0);
}
constexpr char GeckoThread::RequestUiThreadCallback_t::name[];
constexpr char GeckoThread::RequestUiThreadCallback_t::signature[];
auto GeckoThread::RequestUiThreadCallback(int64_t a0) -> void
{
return mozilla::jni::Method<RequestUiThreadCallback_t>::Call(GeckoThread::Context(), nullptr, a0);
}
constexpr char GeckoThread::RunUiThreadCallback_t::name[];
constexpr char GeckoThread::RunUiThreadCallback_t::signature[];
constexpr char GeckoThread::SetState_t::name[];
constexpr char GeckoThread::SetState_t::signature[];
auto GeckoThread::SetState(mozilla::jni::Object::Param a0) -> void
{
return mozilla::jni::Method<SetState_t>::Call(GeckoThread::Context(), nullptr, a0);
}
constexpr char GeckoThread::SpeculativeConnect_t::name[];
constexpr char GeckoThread::SpeculativeConnect_t::signature[];
constexpr char GeckoThread::ClsLoader_t::name[];
constexpr char GeckoThread::ClsLoader_t::signature[];
auto GeckoThread::ClsLoader() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<ClsLoader_t>::Get(GeckoThread::Context(), nullptr);
}
constexpr char GeckoThread::MsgQueue_t::name[];
constexpr char GeckoThread::MsgQueue_t::signature[];
auto GeckoThread::MsgQueue() -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MsgQueue_t>::Get(GeckoThread::Context(), nullptr);
}
auto GeckoThread::MsgQueue(mozilla::jni::Object::Param a0) -> void
{
return mozilla::jni::Field<MsgQueue_t>::Set(GeckoThread::Context(), nullptr, a0);
}
constexpr char GeckoThread::UiThreadId_t::name[];
constexpr char GeckoThread::UiThreadId_t::signature[];
auto GeckoThread::UiThreadId() -> int32_t
{
return mozilla::jni::Field<UiThreadId_t>::Get(GeckoThread::Context(), nullptr);
}
auto GeckoThread::UiThreadId(int32_t a0) -> void
{
return mozilla::jni::Field<UiThreadId_t>::Set(GeckoThread::Context(), nullptr, a0);
}
constexpr char GeckoThread::State::name[];
constexpr char GeckoThread::State::EXITED_t::name[];
constexpr char GeckoThread::State::EXITED_t::signature[];
auto GeckoThread::State::EXITED() -> State::LocalRef
{
return mozilla::jni::Field<EXITED_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::EXITING_t::name[];
constexpr char GeckoThread::State::EXITING_t::signature[];
auto GeckoThread::State::EXITING() -> State::LocalRef
{
return mozilla::jni::Field<EXITING_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::INITIAL_t::name[];
constexpr char GeckoThread::State::INITIAL_t::signature[];
auto GeckoThread::State::INITIAL() -> State::LocalRef
{
return mozilla::jni::Field<INITIAL_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::JNI_READY_t::name[];
constexpr char GeckoThread::State::JNI_READY_t::signature[];
auto GeckoThread::State::JNI_READY() -> State::LocalRef
{
return mozilla::jni::Field<JNI_READY_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::LAUNCHED_t::name[];
constexpr char GeckoThread::State::LAUNCHED_t::signature[];
auto GeckoThread::State::LAUNCHED() -> State::LocalRef
{
return mozilla::jni::Field<LAUNCHED_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::LIBS_READY_t::name[];
constexpr char GeckoThread::State::LIBS_READY_t::signature[];
auto GeckoThread::State::LIBS_READY() -> State::LocalRef
{
return mozilla::jni::Field<LIBS_READY_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::MOZGLUE_READY_t::name[];
constexpr char GeckoThread::State::MOZGLUE_READY_t::signature[];
auto GeckoThread::State::MOZGLUE_READY() -> State::LocalRef
{
return mozilla::jni::Field<MOZGLUE_READY_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::PROFILE_READY_t::name[];
constexpr char GeckoThread::State::PROFILE_READY_t::signature[];
auto GeckoThread::State::PROFILE_READY() -> State::LocalRef
{
return mozilla::jni::Field<PROFILE_READY_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::RESTARTING_t::name[];
constexpr char GeckoThread::State::RESTARTING_t::signature[];
auto GeckoThread::State::RESTARTING() -> State::LocalRef
{
return mozilla::jni::Field<RESTARTING_t>::Get(State::Context(), nullptr);
}
constexpr char GeckoThread::State::RUNNING_t::name[];
constexpr char GeckoThread::State::RUNNING_t::signature[];
auto GeckoThread::State::RUNNING() -> State::LocalRef
{
return mozilla::jni::Field<RUNNING_t>::Get(State::Context(), nullptr);
}
} /* java */
} /* mozilla */