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 mozilla_java_GeckoThreadNatives_h
#define mozilla_java_GeckoThreadNatives_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoThreadWrappers.h"
#include "mozilla/jni/Natives.h"
#endif
namespace mozilla {
namespace java {
template<class Impl>
class GeckoThread::Natives : public mozilla::jni::NativeImpl<GeckoThread, Impl>
{
public:
static const JNINativeMethod methods[7];
};
template<class Impl>
MOZ_GLOBINIT const JNINativeMethod GeckoThread::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoThread::Crash_t>(
mozilla::jni::NativeStub<GeckoThread::Crash_t, Impl>
::template Wrap<&Impl::Crash>),
mozilla::jni::MakeNativeMethod<GeckoThread::ForceQuit_t>(
mozilla::jni::NativeStub<GeckoThread::ForceQuit_t, Impl>
::template Wrap<&Impl::ForceQuit>),
mozilla::jni::MakeNativeMethod<GeckoThread::CreateServices_t>(
mozilla::jni::NativeStub<GeckoThread::CreateServices_t, Impl>
::template Wrap<&Impl::CreateServices>),
mozilla::jni::MakeNativeMethod<GeckoThread::OnPause_t>(
mozilla::jni::NativeStub<GeckoThread::OnPause_t, Impl>
::template Wrap<&Impl::OnPause>),
mozilla::jni::MakeNativeMethod<GeckoThread::OnResume_t>(
mozilla::jni::NativeStub<GeckoThread::OnResume_t, Impl>
::template Wrap<&Impl::OnResume>),
mozilla::jni::MakeNativeMethod<GeckoThread::RunUiThreadCallback_t>(
mozilla::jni::NativeStub<GeckoThread::RunUiThreadCallback_t, Impl>
::template Wrap<&Impl::RunUiThreadCallback>),
mozilla::jni::MakeNativeMethod<GeckoThread::SpeculativeConnect_t>(
mozilla::jni::NativeStub<GeckoThread::SpeculativeConnect_t, Impl>
::template Wrap<&Impl::SpeculativeConnect>)
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoThreadNatives_h