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_ClipboardWrappers_h
#define mozilla_java_ClipboardWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class Clipboard : public mozilla::jni::ObjectBase<Clipboard>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/Clipboard";
explicit Clipboard(const Context& ctx) : ObjectBase<Clipboard>(ctx) {}
struct Clear_t {
typedef Clipboard Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "clear";
static constexpr char signature[] =
"(Landroid/content/Context;)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::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void clear(Context)
static auto Clear(mozilla::jni::Object::Param) -> void;
struct GetRawData_t {
typedef Clipboard Owner;
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
typedef mozilla::jni::ByteArray::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "getRawData";
static constexpr char signature[] =
"(Ljava/lang/String;)[B";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::NSRESULT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static byte[] getRawData(String)
static auto GetRawData(mozilla::jni::String::Param, mozilla::jni::ByteArray::LocalRef*) -> nsresult;
struct GetSequenceNumber_t {
typedef Clipboard Owner;
typedef int64_t ReturnType;
typedef int64_t SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "getSequenceNumber";
static constexpr char signature[] =
"(Landroid/content/Context;)J";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static long getSequenceNumber(Context)
static auto GetSequenceNumber(mozilla::jni::Object::Param) -> int64_t;
struct GetTextData_t {
typedef Clipboard Owner;
typedef mozilla::jni::String::LocalRef ReturnType;
typedef mozilla::jni::String::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "getTextData";
static constexpr char signature[] =
"(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static String getTextData(Context, String)
static auto GetTextData(mozilla::jni::Object::Param, mozilla::jni::String::Param) -> mozilla::jni::String::LocalRef;
struct HasData_t {
typedef Clipboard Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "hasData";
static constexpr char signature[] =
"(Landroid/content/Context;Ljava/lang/String;)Z";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static boolean hasData(Context, String)
static auto HasData(mozilla::jni::Object::Param, mozilla::jni::String::Param) -> bool;
struct SetHTML_t {
typedef Clipboard Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
bool> Args;
static constexpr char name[] = "setHTML";
static constexpr char signature[] =
"(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/String;Z)Z";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static boolean setHTML(Context, CharSequence, String, boolean)
static auto SetHTML(mozilla::jni::Object::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, bool) -> bool;
struct SetText_t {
typedef Clipboard Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::String::Param,
bool> Args;
static constexpr char name[] = "setText";
static constexpr char signature[] =
"(Landroid/content/Context;Ljava/lang/CharSequence;Z)Z";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static boolean setText(Context, CharSequence, boolean)
static auto SetText(mozilla::jni::Object::Param, mozilla::jni::String::Param, bool) -> bool;
struct StartTrackingClipboardData_t {
typedef Clipboard Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "startTrackingClipboardData";
static constexpr char signature[] =
"(Landroid/content/Context;)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::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void startTrackingClipboardData(Context)
static auto StartTrackingClipboardData(mozilla::jni::Object::Param) -> void;
struct StopTrackingClipboardData_t {
typedef Clipboard Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "stopTrackingClipboardData";
static constexpr char signature[] =
"(Landroid/content/Context;)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::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void stopTrackingClipboardData(Context)
static auto StopTrackingClipboardData(mozilla::jni::Object::Param) -> void;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_ClipboardWrappers_h