feat: Added option to copy custom encoding strings from hex view

This commit is contained in:
WerWolv
2023-01-28 21:12:35 +01:00
parent c861bf9a5e
commit c6e1f45dc3
5 changed files with 25 additions and 2 deletions

View File

@@ -132,6 +132,10 @@ namespace hex::plugin::builtin::ui {
this->m_characterCellPadding = characterCellPadding;
}
[[nodiscard]] const std::optional<EncodingFile>& getCustomEncoding() const {
return this->m_currCustomEncoding;
}
void setCustomEncoding(EncodingFile encoding) {
this->m_currCustomEncoding = std::move(encoding);
}