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_SurfaceControlManagerWrappers_h
#define mozilla_java_SurfaceControlManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class SurfaceControlManager : public mozilla::jni::ObjectBase<SurfaceControlManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/gfx/SurfaceControlManager";
explicit SurfaceControlManager(const Context& ctx) : ObjectBase<SurfaceControlManager>(ctx) {}
struct GetChildSurface_t {
typedef SurfaceControlManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t,
int32_t> Args;
static constexpr char name[] = "getChildSurface";
static constexpr char signature[] =
"(Landroid/view/SurfaceControl;II)Landroid/view/Surface;";
static const bool isStatic = false;
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::CURRENT;
};
// Surface getChildSurface(SurfaceControl, int, int)
auto GetChildSurface(mozilla::jni::Object::Param, int32_t, int32_t) const -> mozilla::jni::Object::LocalRef;
struct GetInstance_t {
typedef SurfaceControlManager Owner;
typedef SurfaceControlManager::LocalRef ReturnType;
typedef SurfaceControlManager::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getInstance";
static constexpr char signature[] =
"()Lorg/mozilla/gecko/gfx/SurfaceControlManager;";
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::CURRENT;
};
// static SurfaceControlManager getInstance()
static auto GetInstance() -> SurfaceControlManager::LocalRef;
struct OnGpuProcessLoss_t {
typedef SurfaceControlManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "onGpuProcessLoss";
static constexpr char signature[] =
"()V";
static const bool isStatic = false;
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::CURRENT;
};
// void onGpuProcessLoss()
auto OnGpuProcessLoss() const -> void;
struct RemoveSurface_t {
typedef SurfaceControlManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "removeSurface";
static constexpr char signature[] =
"(Landroid/view/SurfaceControl;)V";
static const bool isStatic = false;
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::CURRENT;
};
// void removeSurface(SurfaceControl)
auto RemoveSurface(mozilla::jni::Object::Param) const -> void;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_SurfaceControlManagerWrappers_h