1
0
mirror of synced 2024-12-13 16:31:07 +01:00
ImHex/plugins/script_loader/include/loaders/dotnet/dotnet_loader.hpp
Nik 5171bea0bf
feat: Added cross-platform .NET scripts support (#1185)
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>
2023-07-15 14:29:14 +02:00

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;
};
}