12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-04-07
- * Changed: 2023-04-10
- *
- * */
- #include <ls-std/core/jni/JniClassParameter.hpp>
- using ls::std::core::experimental::JniClassParameter;
- using ls::std::core::experimental::interface_type::IJniApi;
- using std::shared_ptr;
- using std::string;
- JniClassParameter::JniClassParameter() = default;
- JniClassParameter::~JniClassParameter() = default;
- JNIEnv *JniClassParameter::getJavaEnvironment()
- {
- return this->environment;
- }
- jobject JniClassParameter::getJavaObject()
- {
- return this->javaObject;
- }
- shared_ptr<IJniApi> JniClassParameter::getJniApi()
- {
- return this->jniApi;
- }
- void JniClassParameter::setJavaEnvironment(JNIEnv *_environment)
- {
- this->environment = _environment;
- }
- void JniClassParameter::setJavaObject(jobject _javaObject)
- {
- this->javaObject = _javaObject;
- }
- void JniClassParameter::setJniApi(const shared_ptr<IJniApi> &_jniApi)
- {
- this->jniApi = _jniApi;
- }
|