/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-04-07 * Changed: 2023-04-07 * * */ #ifndef LS_STD_JNI_CLASS_HPP #define LS_STD_JNI_CLASS_HPP #include "JniClassParameter.hpp" #include #include #include #include #include namespace ls::std::core { class LS_STD_DYNAMIC_GOAL JniClass { public: explicit JniClass(const ::std::shared_ptr &_parameter, const ::std::string &_path); virtual ~JniClass(); bool load(); // nodiscard is optional here private: jclass javaClass{}; ::std::shared_ptr parameter{}; ::std::string path{}; void _createJniApi(); }; } #endif