mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-31 07:18:23 -04:00
UE 0.10.8 / UF 0.10.6
- removed usage of QSet, QPair and Q_FOREACH - removed dependency from QObject for FfsDumper and UEFIFind classes
This commit is contained in:
parent
4a7bacb270
commit
f729dd58b7
6 changed files with 30 additions and 39 deletions
|
@ -14,13 +14,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#ifndef __UEFIFIND_H__
|
||||
#define __UEFIFIND_H__
|
||||
|
||||
#include <set>
|
||||
|
||||
#include <QObject>
|
||||
#include <QByteArray>
|
||||
#include <QString>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QPair>
|
||||
#include <QSet>
|
||||
#include <QString>
|
||||
#include <QUuid>
|
||||
|
||||
|
@ -28,19 +28,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include "../common/ffsparser.h"
|
||||
#include "../common/ffs.h"
|
||||
|
||||
class UEFIFind : public QObject
|
||||
class UEFIFind
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UEFIFind(QObject *parent = 0);
|
||||
explicit UEFIFind();
|
||||
~UEFIFind();
|
||||
|
||||
STATUS init(const QString & path);
|
||||
STATUS find(const UINT8 mode, const bool count, const QString & hexPattern, QString & result);
|
||||
|
||||
private:
|
||||
STATUS findFileRecursive(const QModelIndex index, const QString & hexPattern, const UINT8 mode, QSet<QPair<QModelIndex, QModelIndex> > & files);
|
||||
STATUS findFileRecursive(const QModelIndex index, const QString & hexPattern, const UINT8 mode, std::set<std::pair<QModelIndex, QModelIndex> > & files);
|
||||
QString guidToQString(const UINT8* guid);
|
||||
|
||||
FfsParser* ffsParser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue