UT NE A23

- added UI for VSS storage operations
- changed VSS storage/vars parsing order
- solved problems with GUIDs as filenames
- Fsys, _FDC and other NVRAM formats TBD
This commit is contained in:
Nikolaj Schlej 2016-03-29 16:15:23 +02:00
parent 95290abb94
commit 5557acd7d8
5 changed files with 43 additions and 10 deletions

View file

@ -536,6 +536,9 @@ void UEFITool::extract(const UINT8 mode)
case Types::NvramVariableVss:
path = QFileDialog::getSaveFileName(this, tr("Save variable to file"), name + ".var", "Variable files (*.var *.bin);;All files (*)");
break;
case Types::NvramStorageVss:
path = QFileDialog::getSaveFileName(this, tr("Save variable storage to file"), name + ".vss", "Variable storage files (*.vss *.bin);;All files (*)");
break;
default:
path = QFileDialog::getSaveFileName(this, tr("Save object to file"), name + ".bin", "Binary files (*.bin);;All files (*)");
}
@ -572,6 +575,9 @@ void UEFITool::extract(const UINT8 mode)
case Types::NvramVariableVss:
path = QFileDialog::getSaveFileName(this, tr("Save variable body to file"), name + ".bin", "Binary files (*.bin);;All files (*)");
break;
case Types::NvramStorageVss:
path = QFileDialog::getSaveFileName(this, tr("Save variable storage body to file"), name + ".vsb", "Variable storage body files (*.vsb *.bin);;All files (*)");
break;
default:
path = QFileDialog::getSaveFileName(this, tr("Save object to file"), name + ".bin", "Binary files (*.bin);;All files (*)");
}
@ -937,6 +943,9 @@ void UEFITool::contextMenuEvent(QContextMenuEvent* event)
case Types::NvramVariableVss:
ui->menuVariableActions->exec(event->globalPos());
break;
case Types::NvramStorageVss:
ui->menuStorageActions->exec(event->globalPos());
break;
}
}