1
0
mirror of synced 2024-12-15 01:01:15 +01:00
ImHex/plugins/script_loader/include/loaders/dotnet/dotnet_loader.hpp

25 lines
598 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<int(const std::string &, bool, const std::fs::path&)> m_runMethod;
std::function<bool(const std::string &, const std::fs::path&)> m_methodExists;
std::fs::path::string_type m_assemblyLoaderPathString;
};
}