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_XPCOMEventTargetNatives_h
#define mozilla_java_XPCOMEventTargetNatives_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/XPCOMEventTargetWrappers.h"
#include "mozilla/jni/Natives.h"
#endif
namespace mozilla {
namespace java {
template<class Impl>
class XPCOMEventTarget::Natives : public mozilla::jni::NativeImpl<XPCOMEventTarget, Impl>
{
public:
static const JNINativeMethod methods[4];
};
template<class Impl>
MOZ_GLOBINIT const JNINativeMethod XPCOMEventTarget::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<XPCOMEventTarget::DispatchNative_t>(
mozilla::jni::NativeStub<XPCOMEventTarget::DispatchNative_t, Impl>
::template Wrap<&Impl::DispatchNative>),
mozilla::jni::MakeNativeMethod<XPCOMEventTarget::DisposeNative_t>(
mozilla::jni::NativeStub<XPCOMEventTarget::DisposeNative_t, Impl>
::template Wrap<&Impl::DisposeNative>),
mozilla::jni::MakeNativeMethod<XPCOMEventTarget::IsOnCurrentThread_t>(
mozilla::jni::NativeStub<XPCOMEventTarget::IsOnCurrentThread_t, Impl>
::template Wrap<&Impl::IsOnCurrentThread>),
mozilla::jni::MakeNativeMethod<XPCOMEventTarget::ResolveAndDispatchNative_t>(
mozilla::jni::NativeStub<XPCOMEventTarget::ResolveAndDispatchNative_t, Impl>
::template Wrap<&Impl::ResolveAndDispatchNative>)
};
} /* java */
} /* mozilla */
#endif // mozilla_java_XPCOMEventTargetNatives_h