feat: Added a preview to the Edit -> Copy as options

Closes #2026
This commit is contained in:
WerWolv
2024-12-30 23:16:11 +01:00
parent dab3f722e8
commit 0ae823716a
5 changed files with 45 additions and 20 deletions

View File

@@ -1013,7 +1013,7 @@ namespace hex {
namespace impl {
using Callback = std::function<std::string(prv::Provider *provider, u64 address, size_t size)>;
using Callback = std::function<std::string(prv::Provider *provider, u64 address, size_t size, bool preview)>;
struct ExportMenuEntry {
UnlocalizedString unlocalizedName;
Callback callback;