godot-ultraleap-plugin/src/binder.h

26 lines
394 B
C++

#ifndef BINDER_HPP
#define BINDER_HPP
#ifdef ANDROID_ENABLED
#include <jni.h>
class Binder {
private:
jclass class_binder;
jobject binder_object;
jmethodID bind_method;
jmethodID unbind_method;
jmethodID is_bound_method;
static jobject get_global_context(JNIEnv *env);
public:
Binder(JNIEnv* env);
~Binder() {}
void bind(JNIEnv *env);
};
#endif
#endif