mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-18 17:25:19 -04:00
Implement custom LZMA dictionary size support, fixes #154
This commit is contained in:
parent
e6f84f9f7d
commit
4bee991c94
9 changed files with 93 additions and 33 deletions
11
treeitem.cpp
11
treeitem.cpp
|
@ -23,6 +23,7 @@ TreeItem::TreeItem(const UINT8 type, const UINT8 subtype, const UINT8 compressio
|
|||
itemType(type),
|
||||
itemSubtype(subtype),
|
||||
itemCompression(compression),
|
||||
itemDictionarySize(0),
|
||||
itemName(name),
|
||||
itemText(text),
|
||||
itemInfo(info),
|
||||
|
@ -198,6 +199,16 @@ UINT8 TreeItem::action() const
|
|||
return itemAction;
|
||||
}
|
||||
|
||||
UINT32 TreeItem::dictionarySize() const
|
||||
{
|
||||
return itemDictionarySize;
|
||||
}
|
||||
|
||||
void TreeItem::setDictionarySize(const UINT32 dictionarySize)
|
||||
{
|
||||
itemDictionarySize = dictionarySize;
|
||||
}
|
||||
|
||||
void TreeItem::setAction(const UINT8 action)
|
||||
{
|
||||
itemAction = action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue