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_CompositorSurfaceManagerWrappers_h
#define mozilla_java_CompositorSurfaceManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class CompositorSurfaceManager : public mozilla::jni::ObjectBase<CompositorSurfaceManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/gfx/CompositorSurfaceManager";
explicit CompositorSurfaceManager(const Context& ctx) : ObjectBase<CompositorSurfaceManager>(ctx) {}
struct OnSurfaceChanged_t {
typedef CompositorSurfaceManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "onSurfaceChanged";
static constexpr char signature[] =
"(ILandroid/view/Surface;)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::NSRESULT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onSurfaceChanged(int, Surface)
auto OnSurfaceChanged(int32_t, mozilla::jni::Object::Param) const -> nsresult;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_CompositorSurfaceManagerWrappers_h