mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
feat: Added decompressing support
This commit is contained in:
21
plugins/decompress/source/plugin_decompress.cpp
Normal file
21
plugins/decompress/source/plugin_decompress.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <hex/plugin.hpp>
|
||||
|
||||
#include <hex/api/content_registry.hpp>
|
||||
#include <hex/helpers/logger.hpp>
|
||||
|
||||
#include <romfs/romfs.hpp>
|
||||
|
||||
namespace hex::plugin::decompress {
|
||||
|
||||
void registerPatternLanguageFunctions();
|
||||
|
||||
}
|
||||
|
||||
using namespace hex;
|
||||
using namespace hex::plugin::decompress;
|
||||
|
||||
IMHEX_PLUGIN_SETUP("Decompressing", "WerWolv", "Support for decompressing data") {
|
||||
hex::log::debug("Using romfs: '{}'", romfs::name());
|
||||
|
||||
registerPatternLanguageFunctions();
|
||||
}
|
||||
Reference in New Issue
Block a user