24 lines
487 B
C++
24 lines
487 B
C++
#pragma once
|
|
|
|
#include <loaders/loader.hpp>
|
|
|
|
#include <wolv/io/fs.hpp>
|
|
|
|
#include <functional>
|
|
|
|
namespace hex::script::loader {
|
|
|
|
class DotNetLoader : public ScriptLoader {
|
|
public:
|
|
DotNetLoader() = default;
|
|
~DotNetLoader() override = default;
|
|
|
|
bool initialize() override;
|
|
bool loadAll() override;
|
|
|
|
private:
|
|
std::function<bool(const std::fs::path&)> m_loadAssembly;
|
|
std::fs::path::string_type m_assemblyLoaderPathString;
|
|
};
|
|
|
|
} |