mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-25 20:45:00 -04:00
Fixed gitignore
The whole UEFITool was removed because of false .gitignore settings
This commit is contained in:
parent
2e788a8a1a
commit
d94eb48978
20 changed files with 2467 additions and 5 deletions
115
UEFITool/uefitool.h
Normal file
115
UEFITool/uefitool.h
Normal file
|
@ -0,0 +1,115 @@
|
|||
/* uefitool.h
|
||||
|
||||
Copyright (c) 2014, Nikolaj Schlej. All rights reserved.
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __UEFITOOL_H__
|
||||
#define __UEFITOOL_H__
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QByteArray>
|
||||
#include <QClipboard>
|
||||
#include <QDragEnterEvent>
|
||||
#include <QDropEvent>
|
||||
#include <QFile>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QListWidget>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QMimeData>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QSettings>
|
||||
#include <QSplitter>
|
||||
#include <QString>
|
||||
#include <QTreeView>
|
||||
#include <QUrl>
|
||||
|
||||
#include "..\common\basetypes.h"
|
||||
#include "..\common\utility.h"
|
||||
#include "..\common\ffs.h"
|
||||
#include "..\common\ffsparser.h"
|
||||
#include "searchdialog.h"
|
||||
#include "messagelistitem.h"
|
||||
#include "ffsfinder.h"
|
||||
#include "ffsops.h"
|
||||
|
||||
namespace Ui {
|
||||
class UEFITool;
|
||||
}
|
||||
|
||||
class UEFITool : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UEFITool(QWidget *parent = 0);
|
||||
~UEFITool();
|
||||
|
||||
void openImageFile(QString path);
|
||||
|
||||
private slots:
|
||||
void init();
|
||||
void populateUi(const QModelIndex ¤t);
|
||||
void scrollTreeView(QListWidgetItem* item);
|
||||
|
||||
void openImageFile();
|
||||
void saveImageFile();
|
||||
void search();
|
||||
|
||||
void extract(const UINT8 mode);
|
||||
void extractAsIs();
|
||||
void extractBody();
|
||||
|
||||
void insert(const UINT8 mode);
|
||||
void insertInto();
|
||||
void insertBefore();
|
||||
void insertAfter();
|
||||
|
||||
void replace(const UINT8 mode);
|
||||
void replaceAsIs();
|
||||
void replaceBody();
|
||||
|
||||
void rebuild();
|
||||
|
||||
void remove();
|
||||
|
||||
void copyMessage();
|
||||
void copyAllMessages();
|
||||
void enableMessagesCopyActions(QListWidgetItem* item);
|
||||
void clearMessages();
|
||||
|
||||
void about();
|
||||
void aboutQt();
|
||||
|
||||
void exit();
|
||||
void writeSettings();
|
||||
|
||||
private:
|
||||
Ui::UEFITool* ui;
|
||||
TreeModel* model;
|
||||
FfsParser* ffsParser;
|
||||
FfsFinder* ffsFinder;
|
||||
FfsOperations* ffsOps;
|
||||
SearchDialog* searchDialog;
|
||||
QClipboard* clipboard;
|
||||
QString currentDir;
|
||||
const QString version;
|
||||
|
||||
void dragEnterEvent(QDragEnterEvent* event);
|
||||
void dropEvent(QDropEvent* event);
|
||||
void contextMenuEvent(QContextMenuEvent* event);
|
||||
void readSettings();
|
||||
void showParserMessages();
|
||||
void showFinderMessages();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue