mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1243049
- Update native bindings for PrefsHelper; r=me
Update auto-generated native bindings for PrefsHelper.
This commit is contained in:
parent
25b09c5b0b
commit
22854959ff
@ -220,13 +220,21 @@ class PrefsHelper::Natives : public mozilla::jni::NativeImpl<PrefsHelper, Impl>
|
||||
public:
|
||||
static constexpr JNINativeMethod methods[] = {
|
||||
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::GetPrefsById_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::GetPrefsById_t, Impl>
|
||||
::template Wrap<&Impl::GetPrefsById>),
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::AddObserver_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::AddObserver_t, Impl>
|
||||
::template Wrap<&Impl::AddObserver>),
|
||||
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::RemovePrefsObserver_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::RemovePrefsObserver_t, Impl>
|
||||
::template Wrap<&Impl::RemovePrefsObserver>)
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::GetPrefs_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::GetPrefs_t, Impl>
|
||||
::template Wrap<&Impl::GetPrefs>),
|
||||
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::RemoveObserver_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::RemoveObserver_t, Impl>
|
||||
::template Wrap<&Impl::RemoveObserver>),
|
||||
|
||||
mozilla::jni::MakeNativeMethod<PrefsHelper::SetPref_t>(
|
||||
mozilla::jni::NativeStub<PrefsHelper::SetPref_t, Impl>
|
||||
::template Wrap<&Impl::SetPref>)
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1118,11 +1118,33 @@ auto GeckoView::Window::GlController() const -> mozilla::jni::Object::LocalRef
|
||||
|
||||
constexpr char PrefsHelper::name[];
|
||||
|
||||
constexpr char PrefsHelper::GetPrefsById_t::name[];
|
||||
constexpr char PrefsHelper::GetPrefsById_t::signature[];
|
||||
constexpr char PrefsHelper::CallPrefHandler_t::name[];
|
||||
constexpr char PrefsHelper::CallPrefHandler_t::signature[];
|
||||
|
||||
constexpr char PrefsHelper::RemovePrefsObserver_t::name[];
|
||||
constexpr char PrefsHelper::RemovePrefsObserver_t::signature[];
|
||||
auto PrefsHelper::CallPrefHandler(mozilla::jni::Object::Param a0, int32_t a1, mozilla::jni::String::Param a2, bool a3, int32_t a4, mozilla::jni::String::Param a5) -> void
|
||||
{
|
||||
return mozilla::jni::Method<CallPrefHandler_t>::Call(nullptr, nullptr, a0, a1, a2, a3, a4, a5);
|
||||
}
|
||||
|
||||
constexpr char PrefsHelper::AddObserver_t::name[];
|
||||
constexpr char PrefsHelper::AddObserver_t::signature[];
|
||||
|
||||
constexpr char PrefsHelper::GetPrefs_t::name[];
|
||||
constexpr char PrefsHelper::GetPrefs_t::signature[];
|
||||
|
||||
constexpr char PrefsHelper::RemoveObserver_t::name[];
|
||||
constexpr char PrefsHelper::RemoveObserver_t::signature[];
|
||||
|
||||
constexpr char PrefsHelper::SetPref_t::name[];
|
||||
constexpr char PrefsHelper::SetPref_t::signature[];
|
||||
|
||||
constexpr char PrefsHelper::OnPrefChange_t::name[];
|
||||
constexpr char PrefsHelper::OnPrefChange_t::signature[];
|
||||
|
||||
auto PrefsHelper::OnPrefChange(mozilla::jni::String::Param a0, int32_t a1, bool a2, int32_t a3, mozilla::jni::String::Param a4) -> void
|
||||
{
|
||||
return mozilla::jni::Method<OnPrefChange_t>::Call(nullptr, nullptr, a0, a1, a2, a3, a4);
|
||||
}
|
||||
|
||||
constexpr char Restrictions::name[];
|
||||
|
||||
|
@ -3028,17 +3028,40 @@ protected:
|
||||
PrefsHelper(jobject instance) : Class(instance) {}
|
||||
|
||||
public:
|
||||
struct GetPrefsById_t {
|
||||
struct CallPrefHandler_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::Object::Param,
|
||||
int32_t,
|
||||
mozilla::jni::ObjectArray::Param,
|
||||
bool> Args;
|
||||
static constexpr char name[] = "getPrefsById";
|
||||
mozilla::jni::String::Param,
|
||||
bool,
|
||||
int32_t,
|
||||
mozilla::jni::String::Param> Args;
|
||||
static constexpr char name[] = "callPrefHandler";
|
||||
static constexpr char signature[] =
|
||||
"(I[Ljava/lang/String;Z)V";
|
||||
"(Lorg/mozilla/gecko/PrefsHelper$PrefHandler;ILjava/lang/String;ZILjava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
static auto CallPrefHandler(mozilla::jni::Object::Param, int32_t, mozilla::jni::String::Param, bool, int32_t, mozilla::jni::String::Param) -> void;
|
||||
|
||||
public:
|
||||
struct AddObserver_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::ObjectArray::Param,
|
||||
mozilla::jni::Object::Param,
|
||||
mozilla::jni::ObjectArray::Param> Args;
|
||||
static constexpr char name[] = "nativeAddObserver";
|
||||
static constexpr char signature[] =
|
||||
"([Ljava/lang/String;Lorg/mozilla/gecko/PrefsHelper$PrefHandler;[Ljava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
@ -3046,21 +3069,96 @@ public:
|
||||
};
|
||||
|
||||
public:
|
||||
struct RemovePrefsObserver_t {
|
||||
struct GetPrefs_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
int32_t> Args;
|
||||
static constexpr char name[] = "removePrefsObserver";
|
||||
mozilla::jni::ObjectArray::Param,
|
||||
mozilla::jni::Object::Param> Args;
|
||||
static constexpr char name[] = "nativeGetPrefs";
|
||||
static constexpr char signature[] =
|
||||
"(I)V";
|
||||
"([Ljava/lang/String;Lorg/mozilla/gecko/PrefsHelper$PrefHandler;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
public:
|
||||
struct RemoveObserver_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::ObjectArray::Param> Args;
|
||||
static constexpr char name[] = "nativeRemoveObserver";
|
||||
static constexpr char signature[] =
|
||||
"([Ljava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
public:
|
||||
struct SetPref_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::String::Param,
|
||||
bool,
|
||||
int32_t,
|
||||
bool,
|
||||
int32_t,
|
||||
mozilla::jni::String::Param> Args;
|
||||
static constexpr char name[] = "nativeSetPref";
|
||||
static constexpr char signature[] =
|
||||
"(Ljava/lang/String;ZIZILjava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
public:
|
||||
struct OnPrefChange_t {
|
||||
typedef PrefsHelper Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::String::Param,
|
||||
int32_t,
|
||||
bool,
|
||||
int32_t,
|
||||
mozilla::jni::String::Param> Args;
|
||||
static constexpr char name[] = "onPrefChange";
|
||||
static constexpr char signature[] =
|
||||
"(Ljava/lang/String;IZILjava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const bool isMultithreaded = false;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
static auto OnPrefChange(mozilla::jni::String::Param, int32_t, bool, int32_t, mozilla::jni::String::Param) -> void;
|
||||
|
||||
public:
|
||||
static const int32_t PREF_BOOL = 1;
|
||||
|
||||
public:
|
||||
static const int32_t PREF_FINISH = 0;
|
||||
|
||||
public:
|
||||
static const int32_t PREF_INT = 2;
|
||||
|
||||
public:
|
||||
static const int32_t PREF_INVALID = -1;
|
||||
|
||||
public:
|
||||
static const int32_t PREF_STRING = 3;
|
||||
|
||||
public:
|
||||
template<class Impl> class Natives;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user