Add -o / --output flag to UEFIPatch

This commit is contained in:
vit9696 2018-05-19 18:55:51 +03:00
parent 8db52ea51a
commit b5961a7155
3 changed files with 25 additions and 15 deletions

View file

@ -33,9 +33,7 @@ public:
explicit UEFIPatch(QObject *parent = 0);
~UEFIPatch();
UINT8 patchFromFile(QString path, QString patches);
UINT8 patch(QString path, QString fileGuid, QString findPattern, QString replacePattern);
UINT8 patchFromFile(const QString & path, const QString & patches, const QString & outputPath);
private:
UINT8 patchFile(const QModelIndex & index, const QByteArray & fileGuid, const UINT8 sectionType, const QVector<PatchData> & patches);
FfsEngine* ffsEngine;