mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
26 lines
351 B
C++
26 lines
351 B
C++
//
|
|
// Created by Stepan Usatiuk on 24.06.2025.
|
|
//
|
|
|
|
#ifndef LIBJVMWRAPPER_HPP
|
|
#define LIBJVMWRAPPER_HPP
|
|
#include <jni.h>
|
|
|
|
|
|
class LibjvmWrapper {
|
|
public:
|
|
static LibjvmWrapper& instance();
|
|
|
|
decltype(JNI_CreateJavaVM)* JNI_CreateJavaVM;
|
|
|
|
private:
|
|
LibjvmWrapper();
|
|
|
|
~LibjvmWrapper();
|
|
|
|
void* _lib_handle;
|
|
};
|
|
|
|
|
|
#endif //LIBJVMWRAPPER_HPP
|