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/GeckoRuntimeWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char GeckoRuntime::name[];
constexpr char GeckoRuntime::GetInstance_t::name[];
constexpr char GeckoRuntime::GetInstance_t::signature[];
auto GeckoRuntime::GetInstance() -> GeckoRuntime::LocalRef
{
return mozilla::jni::Method<GetInstance_t>::Call(GeckoRuntime::Context(), nullptr);
}
constexpr char GeckoRuntime::GetWebNotificationDelegate_t::name[];
constexpr char GeckoRuntime::GetWebNotificationDelegate_t::signature[];
auto GeckoRuntime::GetWebNotificationDelegate() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<GetWebNotificationDelegate_t>::Call(GeckoRuntime::mCtx, nullptr);
}
constexpr char GeckoRuntime::LockScreenOrientation_t::name[];
constexpr char GeckoRuntime::LockScreenOrientation_t::signature[];
auto GeckoRuntime::LockScreenOrientation(int32_t a0) const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<LockScreenOrientation_t>::Call(GeckoRuntime::mCtx, nullptr, a0);
}
constexpr char GeckoRuntime::NotifyOnClose_t::name[];
constexpr char GeckoRuntime::NotifyOnClose_t::signature[];
auto GeckoRuntime::NotifyOnClose(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<NotifyOnClose_t>::Call(GeckoRuntime::mCtx, nullptr, a0);
}
constexpr char GeckoRuntime::NotifyOnShow_t::name[];
constexpr char GeckoRuntime::NotifyOnShow_t::signature[];
auto GeckoRuntime::NotifyOnShow(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<NotifyOnShow_t>::Call(GeckoRuntime::mCtx, nullptr, a0);
}
constexpr char GeckoRuntime::ServiceWorkerOpenWindow_t::name[];
constexpr char GeckoRuntime::ServiceWorkerOpenWindow_t::signature[];
auto GeckoRuntime::ServiceWorkerOpenWindow(mozilla::jni::String::Param a0) -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Method<ServiceWorkerOpenWindow_t>::Call(GeckoRuntime::Context(), nullptr, a0);
}
constexpr char GeckoRuntime::TextScaleFactor_t::name[];
constexpr char GeckoRuntime::TextScaleFactor_t::signature[];
auto GeckoRuntime::TextScaleFactor() const -> float
{
return mozilla::jni::Method<TextScaleFactor_t>::Call(GeckoRuntime::mCtx, nullptr);
}
constexpr char GeckoRuntime::UnlockScreenOrientation_t::name[];
constexpr char GeckoRuntime::UnlockScreenOrientation_t::signature[];
auto GeckoRuntime::UnlockScreenOrientation() const -> void
{
return mozilla::jni::Method<UnlockScreenOrientation_t>::Call(GeckoRuntime::mCtx, nullptr);
}
constexpr char GeckoRuntime::UsesDarkTheme_t::name[];
constexpr char GeckoRuntime::UsesDarkTheme_t::signature[];
auto GeckoRuntime::UsesDarkTheme() const -> bool
{
return mozilla::jni::Method<UsesDarkTheme_t>::Call(GeckoRuntime::mCtx, nullptr);
}
} /* java */
} /* mozilla */