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_EventDispatcherNatives_h
#define mozilla_java_EventDispatcherNatives_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/EventDispatcherWrappers.h"
#include "mozilla/jni/Natives.h"
#endif
namespace mozilla {
namespace java {
template<class Impl>
class EventDispatcher::Natives : public mozilla::jni::NativeImpl<EventDispatcher, Impl>
{
public:
static const JNINativeMethod methods[4];
};
template<class Impl>
const JNINativeMethod EventDispatcher::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<EventDispatcher::DispatchToGecko_t>(
mozilla::jni::NativeStub<EventDispatcher::DispatchToGecko_t, Impl>
::template Wrap<&Impl::DispatchToGecko>),
mozilla::jni::MakeNativeMethod<EventDispatcher::DisposeNative_t>(
mozilla::jni::NativeStub<EventDispatcher::DisposeNative_t, Impl>
::template Wrap<&Impl::DisposeNative>),
mozilla::jni::MakeNativeMethod<EventDispatcher::HasGeckoListener_t>(
mozilla::jni::NativeStub<EventDispatcher::HasGeckoListener_t, Impl>
::template Wrap<&Impl::HasGeckoListener>),
mozilla::jni::MakeNativeMethod<EventDispatcher::Shutdown_t>(
mozilla::jni::NativeStub<EventDispatcher::Shutdown_t, Impl>
::template Wrap<&Impl::Shutdown>)
};
template<class Impl>
class EventDispatcher::NativeCallbackDelegate::Natives : public mozilla::jni::NativeImpl<NativeCallbackDelegate, Impl>
{
public:
static const JNINativeMethod methods[3];
};
template<class Impl>
const JNINativeMethod EventDispatcher::NativeCallbackDelegate::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<EventDispatcher::NativeCallbackDelegate::Finalize_t>(
mozilla::jni::NativeStub<EventDispatcher::NativeCallbackDelegate::Finalize_t, Impl>
::template Wrap<&Impl::Finalize>),
mozilla::jni::MakeNativeMethod<EventDispatcher::NativeCallbackDelegate::SendError_t>(
mozilla::jni::NativeStub<EventDispatcher::NativeCallbackDelegate::SendError_t, Impl>
::template Wrap<&Impl::SendError>),
mozilla::jni::MakeNativeMethod<EventDispatcher::NativeCallbackDelegate::SendSuccess_t>(
mozilla::jni::NativeStub<EventDispatcher::NativeCallbackDelegate::SendSuccess_t, Impl>
::template Wrap<&Impl::SendSuccess>)
};
} /* java */
} /* mozilla */
#endif // mozilla_java_EventDispatcherNatives_h