fix: make PluginManager compatible with Windows and Linux
This commit is contained in:
1 parent
de9fbdc7c3
commit
a7f8893bf2
2 files changed
+22
-12
No files matched your search
@@ -2,14 +2,14 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <dlfcn.h>
|
||||
#include "dynlib.h"
|
||||
#include "IPackageManager.h"
|
||||
|
||||
struct PluginInfo {
|
||||
std::string path;
|
||||
std::string name;
|
||||
IPackageManager* instance = nullptr;
|
||||
void* handle = nullptr;
|
||||
dynlib_handle handle = nullptr;
|
||||
bool loaded = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user