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_ImageDecoderWrappers_h
#define mozilla_java_ImageDecoderWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class ImageDecoder : public mozilla::jni::ObjectBase<ImageDecoder>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/util/ImageDecoder";
explicit ImageDecoder(const Context& ctx) : ObjectBase<ImageDecoder>(ctx) {}
// Suggested header signature for native method:
// static void Decode(mozilla::jni::String::Param, int32_t, mozilla::java::GeckoResult::Param);
struct Decode_t {
typedef ImageDecoder Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
int32_t,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "nativeDecode";
static constexpr char signature[] =
"(Ljava/lang/String;ILorg/mozilla/geckoview/GeckoResult;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::GECKO;
};
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_ImageDecoderWrappers_h