1
0
mirror of synced 2025-02-13 17:12:39 +01:00

28 lines
508 B
C++
Raw Normal View History

#pragma once
#include <loaders/loader.hpp>
#include <wolv/io/fs.hpp>
#include <functional>
namespace hex::script::loader {
class PythonLoader : public ScriptLoader {
public:
PythonLoader() : ScriptLoader("Python") {}
~PythonLoader() override = default;
bool initialize() override;
bool loadAll() override;
private:
struct Script {
void *module;
void *mainFunction;
};
std::vector<Script> m_scripts;
};
}