5171bea0bf
This PR intends to add support for .NET scripts that can extend ImHex's functionality in a portable and cross-platform way. --------- Co-authored-by: Justus Garbe <55301990+Nowilltolife@users.noreply.github.com>
23 lines
424 B
C++
23 lines
424 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;
|
|
};
|
|
|
|
} |