1
0
Fork 0

Merge pull request #2772 from bjauny/use_pragma_once

Replaced include guards with pragma once
This commit is contained in:
Duncan Ogilvie 2021-10-27 19:42:25 +02:00 committed by GitHub
commit f1e5535112
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
125 changed files with 134 additions and 497 deletions

View File

@ -1,5 +1,4 @@
#ifndef ABSTRACTSEARCHLIST_H
#define ABSTRACTSEARCHLIST_H
#pragma once
#include "AbstractStdTable.h"
@ -57,5 +56,3 @@ public:
return false;
}
};
#endif // ABSTRACTSEARCHLIST_H

View File

@ -1,5 +1,4 @@
#ifndef ABSTRACTTABLEVIEW_H
#define ABSTRACTTABLEVIEW_H
#pragma once
#include <QScrollBar>
#include <QAbstractScrollArea>
@ -236,5 +235,3 @@ protected:
// Disassembly Popup
DisassemblyPopup* mDisassemblyPopup;
};
#endif // ABSTRACTTABLEVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef DISASSEMBLY_H
#define DISASSEMBLY_H
#pragma once
#include "AbstractTableView.h"
#include "QBeaEngine.h"
@ -241,5 +240,3 @@ protected:
bool mNoCurrentModuleText;
bool mIsMain = false;
};
#endif // DISASSEMBLY_H

View File

@ -1,5 +1,4 @@
#ifndef HEADERBUTTON_H
#define HEADERBUTTON_H
#pragma once
#include <QWidget>
@ -15,6 +14,3 @@ signals:
public slots:
};
#endif // HEADERBUTTON_H

View File

@ -1,5 +1,4 @@
#ifndef _HEXDUMP_H
#define _HEXDUMP_H
#pragma once
#include "AbstractTableView.h"
#include "RichTextPainter.h"
@ -224,5 +223,3 @@ protected:
duint mUnderlineRangeStartVa = 0;
duint mUnderlineRangeEndVa = 0;
};
#endif // _HEXDUMP_H

View File

@ -1,5 +1,4 @@
#ifndef HISTORYLINEEDIT_H
#define HISTORYLINEEDIT_H
#pragma once
#include <QLineEdit>
#include <QKeyEvent>
@ -27,5 +26,3 @@ private:
bool bSixPressed;
};
#endif // HISTORYLINEEDIT_H

View File

@ -1,5 +1,4 @@
#ifndef LABELEDSPLITTER_H
#define LABELEDSPLITTER_H
#pragma once
#include <QSplitter>
@ -44,5 +43,3 @@ private:
QList<QString> mNames;
QList<QWidget*> mWindows;
};
#endif //LABELEDSPLITTER_H

View File

@ -1,5 +1,4 @@
#ifndef LABELEDSPLITTERDETACHEDWINDOW_H
#define LABELEDSPLITTERDETACHEDWINDOW_H
#pragma once
#include <QMainWindow>
#include <QSplitterHandle>
@ -46,6 +45,3 @@ protected:
LabeledSplitter* mSplitterWidget;
};
#endif //LABELEDSPLITTERDETACHEDWINDOW_H

View File

@ -1,5 +1,4 @@
#ifndef REFERENCEVIEW_H
#define REFERENCEVIEW_H
#pragma once
#include <QProgressBar>
#include <QLabel>
@ -81,5 +80,3 @@ private:
void mouseReleaseEvent(QMouseEvent* event);
};
#endif // REFERENCEVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SEARCHLISTVIEW_H
#define SEARCHLISTVIEW_H
#pragma once
#include <QWidget>
#include <QLineEdit>
@ -49,5 +48,3 @@ private:
AbstractSearchList* mAbstractSearchList;
};
#endif // SEARCHLISTVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SHORTCUTEDIT_H
#define SHORTCUTEDIT_H
#pragma once
#include <QLineEdit>
#include <QKeySequence>
@ -26,5 +25,3 @@ signals:
protected:
void keyPressEvent(QKeyEvent* event);
};
#endif // SHORTCUTEDIT_H

View File

@ -1,5 +1,4 @@
#ifndef STDICONSEARCHLISTVIEW_H
#define STDICONSEARCHLISTVIEW_H
#pragma once
#include "StdSearchListView.h"
#include "StdIconTable.h"
@ -22,4 +21,3 @@ protected:
friend class SymbolView;
friend class Bridge;
};
#endif // STDICONSEARCHLISTVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef STDICONTABLE_H
#define STDICONTABLE_H
#pragma once
#include "StdTable.h"
@ -23,5 +22,3 @@ protected:
std::vector<QIcon> mIcon; //listof(row) where row = (listof(col) where col = CellData)
int mIconColumn;
};
#endif // STDICONTABLE_H

View File

@ -1,5 +1,4 @@
#ifndef STDSEARCHLISTVIEW_H
#define STDSEARCHLISTVIEW_H
#pragma once
#include "SearchListView.h"
#include "StdTableSearchList.h"
@ -36,4 +35,3 @@ protected:
StdTable* stdList();
StdTable* stdSearchList();
};
#endif // STDSEARCHLISTVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef STDTABLE_H
#define STDTABLE_H
#pragma once
#include "AbstractStdTable.h"
@ -39,5 +38,3 @@ protected:
std::vector<std::vector<CellData>> mData; //listof(row) where row = (listof(col) where col = CellData)
std::vector<SortBy::t> mColumnSortFunctions;
};
#endif // STDTABLE_H

View File

@ -1,5 +1,4 @@
#ifndef BRIDGE_H
#define BRIDGE_H
#pragma once
#include <agents.h>
#include <QObject>
@ -171,5 +170,3 @@ private:
DWORD dwMainThreadId = 0;
volatile bool dbgStopped = false;
};
#endif // BRIDGE_H

View File

@ -1,5 +1,4 @@
#ifndef BRIDGERESULT_H
#define BRIDGERESULT_H
#pragma once
#include "Imports.h"
@ -45,5 +44,3 @@ public:
private:
Type mType;
};
#endif // BRIDGERESULT_H

View File

@ -1,5 +1,4 @@
#ifndef QBEAENGINE_H
#define QBEAENGINE_H
#pragma once
#include <QString>
#include <vector>
@ -74,5 +73,3 @@ private:
};
void formatOpcodeString(const Instruction_t & inst, RichTextPainter::List & list, std::vector<std::pair<size_t, bool>> & realBytes);
#endif // QBEAENGINE_H

View File

@ -1,5 +1,4 @@
#ifndef ZYDISTOKENIZER_H
#define ZYDISTOKENIZER_H
#pragma once
#include <zydis_wrapper.h>
#include "RichTextPainter.h"
@ -210,5 +209,3 @@ private:
bool tokenizePtrOperand(const ZydisDecodedOperand & op);
bool tokenizeInvalidOperand(const ZydisDecodedOperand & op);
};
#endif // ZYDISTOKENIZER_H

View File

@ -1,5 +1,4 @@
#ifndef EXPORTS_H
#define EXPORTS_H
#pragma once
#include "Imports.h"
@ -12,6 +11,3 @@ extern "C" __declspec(dllexport) int _gui_guiinit(int argc, char* argv[]);
extern "C" __declspec(dllexport) void* _gui_sendmessage(GUIMSG type, void* param1, void* param2);
extern "C" __declspec(dllexport) const char* _gui_translate_text(const char* source);
#endif
#endif // EXPORTS_Hb

View File

@ -1,5 +1,4 @@
#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
#pragma once
#include <QDialog>
@ -28,5 +27,3 @@ private:
Ui::AboutDialog* ui;
UpdateChecker* mUpdateChecker;
};
#endif // ABOUTDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef APPEARANCEDIALOG_H
#define APPEARANCEDIALOG_H
#pragma once
#include <QAction>
#include <QDialog>
@ -109,5 +108,3 @@ private:
void selectColor(QLineEdit* lineEdit, QColorDialog::ColorDialogOptions options = QColorDialog::ColorDialogOptions());
static QString colorToString(const QColor & color);
};
#endif // APPEARANCEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef ASSEMBLEDIALOG_H
#define ASSEMBLEDIALOG_H
#pragma once
#include <QDialog>
#include <functional>
@ -49,5 +48,3 @@ private:
duint mSelectedInstrVa;
ValidateExpressionThread* mValidateThread;
};
#endif // ASSEMBLEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef ATTACHDIALOG_H
#define ATTACHDIALOG_H
#pragma once
#include <QDialog>
@ -41,5 +40,3 @@ private:
ColCommandLine,
};
};
#endif // ATTACHDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef BREAKPOINTSVIEW_H
#define BREAKPOINTSVIEW_H
#pragma once
#include <QWidget>
#include "Bridge.h"
@ -106,5 +105,3 @@ private:
}
}
};
#endif // BREAKPOINTSVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef BROWSEDIALOG_H
#define BROWSEDIALOG_H
#pragma once
#include <QDialog>
@ -26,5 +25,3 @@ private:
QString mFilter;
bool mSave;
};
#endif // BROWSEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef CPUARGUMENTWIDGET_H
#define CPUARGUMENTWIDGET_H
#pragma once
#include <QWidget>
#include <vector>
@ -153,5 +152,3 @@ private:
void updateStackOffset(bool iscall);
};
#endif // CPUARGUMENTWIDGET_H

View File

@ -1,5 +1,4 @@
#ifndef CPUDISASSEMBLY_H
#define CPUDISASSEMBLY_H
#pragma once
#include "Disassembly.h"
@ -165,5 +164,3 @@ private:
bool mHighlightContextMenu = false;
CommonActions* mCommonActions;
};
#endif // CPUDISASSEMBLY_H

View File

@ -1,5 +1,4 @@
#ifndef CPUDUMP_H
#define CPUDUMP_H
#pragma once
#include "HexDump.h"
@ -128,5 +127,3 @@ private:
void setView(ViewEnum_t view);
};
#endif // CPUDUMP_H

View File

@ -1,5 +1,4 @@
#ifndef INFOBOX_H
#define INFOBOX_H
#pragma once
#include "StdTable.h"
@ -54,5 +53,3 @@ private:
QAction* mCopyOffsetAction;
QAction* mCopyLineAction;
};
#endif // INFOBOX_H

View File

@ -1,5 +1,4 @@
#ifndef CPUMULTIDUMP_H
#define CPUMULTIDUMP_H
#pragma once
#include <QWidget>
#include "TabWidget.h"
@ -52,5 +51,3 @@ private:
void SwitchToDumpWindow();
void SwitchToWatchWindow();
};
#endif // CPUMULTIDUMP_H

View File

@ -1,5 +1,4 @@
#ifndef CPUREGISTERSVIEW_H
#define CPUREGISTERSVIEW_H
#pragma once
#include "RegistersView.h"
@ -54,5 +53,3 @@ private:
QAction* wCM_Decrementx87Stack;
QAction* wCM_Highlight;
};
#endif // CPUREGISTERSVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef CPUSIDEBAR_H
#define CPUSIDEBAR_H
#pragma once
#include <QAbstractScrollArea>
#include <QPen>
@ -119,5 +118,3 @@ private:
QPen mUnconditionalBackwardsPen;
QPen mConditionalBackwardsPen;
};
#endif // CPUSIDEBAR_H

View File

@ -1,5 +1,4 @@
#ifndef CPUSTACK_H
#define CPUSTACK_H
#pragma once
#include "HexDump.h"
@ -83,5 +82,3 @@ private:
std::vector<CPUCallStack> mCallstack;
static int CPUStack::getCurrentFrame(const std::vector<CPUStack::CPUCallStack> & mCallstack, duint wVA);
};
#endif // CPUSTACK_H

View File

@ -1,5 +1,4 @@
#ifndef CPUWIDGET_H
#define CPUWIDGET_H
#pragma once
#include <QWidget>
#include "Bridge.h"
@ -70,5 +69,3 @@ private slots:
void attachGraph(QWidget* widget);
void detachGraph();
};
#endif // CPUWIDGET_H

View File

@ -1,5 +1,4 @@
#ifndef CALCULATORDIALOG_H
#define CALCULATORDIALOG_H
#pragma once
#include <QDialog>
#include "Imports.h"
@ -56,5 +55,3 @@ private:
Ui::CalculatorDialog* ui;
QString inFormat(const duint val, CalculatorDialog::NUMBERFORMAT NF) const;
};
#endif // CALCULATORDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef CALLSTACKVIEW_H
#define CALLSTACKVIEW_H
#pragma once
#include "StdTable.h"
class CommonActions;
@ -39,5 +38,3 @@ private:
CommonActions* mCommonActions;
bool isSelectionValid();
};
#endif // CALLSTACKVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef CLOSEDIALOG_H
#define CLOSEDIALOG_H
#pragma once
#include <QDialog>
@ -24,5 +23,3 @@ private:
Ui::CloseDialog* ui;
bool bCanClose;
};
#endif // CLOSEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef CODEPAGESELECTIONDIALOG_H
#define CODEPAGESELECTIONDIALOG_H
#pragma once
#include <QDialog>
@ -21,5 +20,3 @@ private:
Ui::CodepageSelectionDialog* ui;
QList<QByteArray> mCodepages;
};
#endif // CODEPAGESELECTIONDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef COLUMNREORDERDIALOG_H
#define COLUMNREORDERDIALOG_H
#pragma once
#include <QDialog>
@ -30,5 +29,3 @@ private:
Ui::ColumnReorderDialog* ui;
AbstractTableView* mParent;
};
#endif // COLUMNREORDERDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef COMBOBOXDIALOG_H
#define COMBOBOXDIALOG_H
#pragma once
#include <QDialog>
@ -34,5 +33,3 @@ private slots:
private:
Ui::ComboBoxDialog* ui;
};
#endif // COMBOBOXDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef COMMANDLINEEDIT_H
#define COMMANDLINEEDIT_H
#pragma once
#include "Bridge/bridgemain.h"
#include "HistoryLineEdit.h"
@ -42,5 +41,3 @@ private:
bool mDefaultCompletionsUpdated = false;
int mCurrentScriptIndex;
};
#endif // COMMANDLINEEDIT_H

View File

@ -1,5 +1,4 @@
#ifndef CUSTOMIZEMENUDIALOG_H
#define CUSTOMIZEMENUDIALOG_H
#pragma once
#include <QDialog>
@ -23,5 +22,3 @@ public slots:
private:
Ui::CustomizeMenuDialog* ui;
};
#endif // CUSTOMIZEMENUDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef LABELCLASS_H
#define LABELCLASS_H
#pragma once
#include <QLabel>
#include <QStatusBar>
@ -24,5 +23,3 @@ private:
QString mStatusTexts[4];
QString mState;
};
#endif // LABELCLASS_H

View File

@ -1,5 +1,4 @@
#ifndef DISASSEMBLERGRAPHVIEW_H
#define DISASSEMBLERGRAPHVIEW_H
#pragma once
#include <QObject>
#include <QWidget>
@ -384,5 +383,3 @@ private:
void addReferenceAction(QMenu* menu, duint addr, const QString & description);
};
#endif // DISASSEMBLERGRAPHVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef DISASSEMBLYPOPUP_H
#define DISASSEMBLYPOPUP_H
#pragma once
#include <QFrame>
#include "Imports.h"
@ -45,5 +44,3 @@ protected:
std::vector<std::pair<RichTextPainter::List, bool>> mDisassemblyToken;
};
#endif // DISASSEMBLYPOPUP_H

View File

@ -1,5 +1,4 @@
#ifndef EDITBREAKPOINTDIALOG_H
#define EDITBREAKPOINTDIALOG_H
#pragma once
#include <QDialog>
#include "Bridge.h"
@ -39,5 +38,3 @@ private:
void loadFromBp();
};
#endif // EDITBREAKPOINTDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef EDITFLOATREGISTER_H
#define EDITFLOATREGISTER_H
#pragma once
#include <QDialog>
#include <QLineEdit>
@ -103,5 +102,3 @@ private:
char Data[64];
int RegSize;
};
#endif // EDITFLOATREGISTER_H

View File

@ -1,5 +1,4 @@
#ifndef EXCEPTIONRANGEDIALOG_H
#define EXCEPTIONRANGEDIALOG_H
#pragma once
#include <QDialog>
@ -27,5 +26,3 @@ private slots:
private:
Ui::ExceptionRangeDialog* ui;
};
#endif // EXCEPTIONRANGEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef FAVOURITETOOLS_H
#define FAVOURITETOOLS_H
#pragma once
#include <QDialog>
@ -56,5 +55,3 @@ private:
void updateScriptsBtnEnabled();
void updateCommandsBtnEnabled();
};
#endif // FAVOURITETOOLS_H

View File

@ -1,5 +1,4 @@
#ifndef GOTODIALOG_H
#define GOTODIALOG_H
#pragma once
#include <QDialog>
#include "Imports.h"
@ -47,5 +46,3 @@ private:
void setOkEnabled(bool enabled);
QString mCompletionText;
};
#endif // GOTODIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef HANDLESVIEW_H
#define HANDLESVIEW_H
#pragma once
#include <QWidget>
#include "Imports.h"
@ -66,5 +65,3 @@ private:
//void enumHeaps();
void enumPrivileges();
};
#endif // HANDLESVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef HEXEDITDIALOG_H
#define HEXEDITDIALOG_H
#pragma once
#include <QDialog>
#include "QHexEdit/QHexEdit.h"
@ -105,5 +104,3 @@ private:
void printData(DataType type);
};
#endif // HEXEDITDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef HEXLINEEDITT_H
#define HEXLINEEDITT_H
#pragma once
#include <QLineEdit>
@ -47,5 +46,3 @@ private:
QByteArray toEncodedData(const QString & text);
};
#endif // HEXLINEEDITT_H

View File

@ -1,5 +1,4 @@
#ifndef LINEEDITDIALOG_H
#define LINEEDITDIALOG_H
#pragma once
#include <QDialog>
@ -39,5 +38,3 @@ private:
unsigned int fixed_size;
bool fpuMode;
};
#endif // LINEEDITDIALOG_H

View File

@ -1,5 +1,5 @@
#ifndef LOCALVARSVIEW_H
#define LOCALVARSVIEW_H
#pragma once
#include "StdTable.h"
class CPUMultiDump;
@ -39,5 +39,3 @@ private:
QAction* baseRegisters[8];
#endif //_WIN64
};
#endif //LOCALVARSVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef LOGSTATUSLABEL_H
#define LOGSTATUSLABEL_H
#pragma once
#include <QLabel>
#include "Bridge.h"
@ -25,5 +24,3 @@ private:
QString labelText;
QString statusTip;
};
#endif // LOGSTATUSLABEL_H

View File

@ -1,5 +1,4 @@
#ifndef LOGVIEW_H
#define LOGVIEW_H
#pragma once
#include <QTextBrowser>
#include <cstdio>
@ -58,5 +57,3 @@ private:
QTimer* flushTimer;
bool flushLog;
};
#endif // LOGVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#pragma once
#include <QMainWindow>
#include "Imports.h"
@ -283,5 +282,3 @@ private slots:
void on_actionDefaultTheme_triggered();
void on_actionAbout_Qt_triggered();
};
#endif // MAINWINDOW_H

View File

@ -1,5 +1,4 @@
#ifndef MEMORYMAPVIEW_H
#define MEMORYMAPVIEW_H
#pragma once
#include "StdTable.h"
@ -84,5 +83,3 @@ private:
duint mCipBase;
};
#endif // MEMORYMAPVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef MESSAGESBREAKPOINTS_H
#define MESSAGESBREAKPOINTS_H
#pragma once
#include <QDialog>
#include <QLayout>
@ -34,5 +33,3 @@ private:
QMap<duint, QString> messages;
QVector<QString> filterMessages;
};
#endif // MESSAGESBREAKPOINTS_H

View File

@ -1,5 +1,4 @@
#ifndef OPENVIEWSWINDOW_H
#define OPENVIEWSWINDOW_H
#pragma once
// stolen from http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/plugins/coreplugin/editormanager/openeditorswindow.h
@ -67,5 +66,3 @@ private:
MultiItemsDataProvider* mDataProvider = nullptr;
bool mShowIcon;
};
#endif

View File

@ -1,5 +1,4 @@
#ifndef NOTEPADVIEW_H
#define NOTEPADVIEW_H
#pragma once
#include <QPlainTextEdit>
#include "BridgeResult.h"
@ -18,5 +17,3 @@ public slots:
private:
BridgeResult::Type mType;
};
#endif // NOTEPADVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef NOTESMANAGER_H
#define NOTESMANAGER_H
#pragma once
#include <QWidget>
#include <QTabWidget>
@ -19,5 +18,3 @@ private:
NotepadView* mGlobal;
NotepadView* mDebuggee;
};
#endif // NOTESMANAGER_H

View File

@ -1,5 +1,4 @@
#ifndef PAGEMEMORYRIGHTS_H
#define PAGEMEMORYRIGHTS_H
#pragma once
#include <QDialog>
#include "dbg_types.h"
@ -32,5 +31,3 @@ private:
duint size;
QString pagetype;
};
#endif // PAGEMEMORYRIGHTS_H

View File

@ -1,5 +1,4 @@
#ifndef PATCHDIALOG_H
#define PATCHDIALOG_H
#pragma once
#include <QDialog>
#include <QListWidgetItem>
@ -82,5 +81,3 @@ private slots:
void on_btnImport_clicked();
void on_btnExport_clicked();
};
#endif // PATCHDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef PATCHDIALOGGROUPSELECTOR_H
#define PATCHDIALOGGROUPSELECTOR_H
#pragma once
#include <QDialog>
#include <QKeyEvent>
@ -39,5 +38,3 @@ private:
Ui::PatchDialogGroupSelector* ui;
int mGroup;
};
#endif // PATCHDIALOGGROUPSELECTOR_H

View File

@ -1,5 +1,4 @@
#ifndef REFERENCEMANAGER_H
#define REFERENCEMANAGER_H
#pragma once
#include <QTabWidget>
#include <QPushButton>
@ -24,5 +23,3 @@ private:
ReferenceView* mCurrentReferenceView;
QPushButton* mCloseAllTabs;
};
#endif // REFERENCEMANAGER_H

View File

@ -1,5 +1,4 @@
#ifndef REGISTERSVIEW_H
#define REGISTERSVIEW_H
#pragma once
#include <QScrollArea>
#include <QSet>
@ -270,5 +269,3 @@ protected:
QAction* SIMDUQWord;
QAction* SIMDHQWord;
};
#endif // REGISTERSVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SEHCHAINVIEW_H
#define SEHCHAINVIEW_H
#pragma once
#include "StdTable.h"
@ -21,5 +20,3 @@ private:
QAction* mFollowAddress;
QAction* mFollowHandler;
};
#endif // SEHCHAINVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SCRIPTVIEW_H
#define SCRIPTVIEW_H
#pragma once
#include "StdTable.h"
@ -64,5 +63,3 @@ private:
MRUList* mMRUList;
LineEditDialog* mCmdLineEdit;
};
#endif // SCRIPTVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SELECTFIELDS_H
#define SELECTFIELDS_H
#pragma once
#include <QDialog>
@ -22,5 +21,3 @@ public:
private:
Ui::SelectFields* ui;
};
#endif // SELECTFIELDS_H

View File

@ -1,5 +1,4 @@
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#pragma once
#include <QDialog>
#include <QListWidgetItem>
@ -270,5 +269,3 @@ private:
void OnCurrentExceptionFilterSettingsChanged();
void UpdateExceptionListWidget();
};
#endif // SETTINGSDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef SHORTCUTSDIALOG_H
#define SHORTCUTSDIALOG_H
#pragma once
#include <QDialog>
#include <QHeaderView>
@ -36,5 +35,3 @@ private:
void filterShortcutsByName(const QString & nameFilter, QMap<QString, Configuration::Shortcut> & mapToFill);
void showShortcutsFiltered(const QString & actionName);
};
#endif // SHORTCUTSDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef SIMPLETRACEDIALOG_H
#define SIMPLETRACEDIALOG_H
#pragma once
#include <QDialog>
@ -26,5 +25,3 @@ private:
QString mTraceCommand;
QString mLogFile;
};
#endif // SIMPLETRACEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef SOURCEVIEW_H
#define SOURCEVIEW_H
#pragma once
#include <QWidget>
#include <AbstractStdTable.h>
@ -65,5 +64,3 @@ private:
void parseLine(size_t index, LineData & line);
duint addrFromIndex(size_t index);
};
#endif // SOURCEVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef SOURCEVIEWERMANAGER_H
#define SOURCEVIEWERMANAGER_H
#pragma once
#include <QTabWidget>
#include <QPushButton>
@ -21,5 +20,3 @@ public slots:
private:
QPushButton* mCloseAllTabs;
};
#endif // SOURCEVIEWERMANAGER_H

View File

@ -1,5 +1,4 @@
#ifndef STRUCTWIDGET_H
#define STRUCTWIDGET_H
#pragma once
#include <QWidget>
#include "Bridge.h"
@ -51,5 +50,3 @@ private slots:
void changeAddrSlot();
void refreshSlot();
};
#endif // STRUCTWIDGET_H

View File

@ -1,5 +1,4 @@
#ifndef SYMBOLVIEW_H
#define SYMBOLVIEW_H
#pragma once
#include <QWidget>
#include "Bridge.h"
@ -93,5 +92,3 @@ private:
static void cbSymbolEnum(SYMBOLINFO* symbol, void* user);
};
#endif // SYMBOLVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef __MHTABBAR_H__
#define __MHTABBAR_H__
#pragma once
// Qt includes
#include <QTabBar>
@ -34,5 +33,3 @@ private:
bool mAllowDetach;
bool mAllowDelete;
};
#endif // __MHTABBAR_H__

View File

@ -1,5 +1,4 @@
#ifndef __MHTABWIDGET_H__
#define __MHTABWIDGET_H__
#pragma once
// Qt includes
#include <QWidget>
@ -90,6 +89,3 @@ protected:
void closeEvent(QCloseEvent* event);
bool event(QEvent* event);
};
#endif // __MHTABWIDGET_H__

View File

@ -1,5 +1,4 @@
#ifndef THREADVIEW_H
#define THREADVIEW_H
#pragma once
#include "StdTable.h"
#include <QMenu>
@ -25,5 +24,3 @@ private:
duint mCurrentThreadId;
MenuBuilder* mMenuBuilder;
};
#endif // THREADVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef TIMEWASTEDCOUNTER_H
#define TIMEWASTEDCOUNTER_H
#pragma once
#include <QObject>
@ -17,5 +16,3 @@ private slots:
private:
QLabel* mLabel;
};
#endif // TIMEWASTEDCOUNTER_H

View File

@ -1,5 +1,4 @@
#ifndef VIRTUALMODDIALOG_H
#define VIRTUALMODDIALOG_H
#pragma once
#include <QDialog>
#include "Imports.h"
@ -22,5 +21,3 @@ public:
private:
Ui::VirtualModDialog* ui;
};
#endif // VIRTUALMODDIALOG_H

View File

@ -1,5 +1,5 @@
#ifndef WATCHVIEW_H
#define WATCHVIEW_H
#pragma once
#include "StdTable.h"
class CPUMultiDump;
@ -52,5 +52,3 @@ private:
ColId
};
};
#endif // WATCHVIEW_H

View File

@ -1,5 +1,4 @@
#ifndef WORDEDITDIALOG_H
#define WORDEDITDIALOG_H
#pragma once
#include <QValidator>
#include <QDialog>
@ -47,5 +46,3 @@ private:
int mAsciiLineEditPos;
int byteCount;
};
#endif // WORDEDITDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef XREFBROWSEDIALOG_H
#define XREFBROWSEDIALOG_H
#pragma once
#include "Bridge.h"
#include "ActionHelpers.h"
@ -62,5 +61,3 @@ private:
MenuBuilder* mMenu;
GotoFunction mGotoFunction;
};
#endif // XREFBROWSEDIALOG_H

View File

@ -1,5 +1,4 @@
#ifndef IMPORTS_H
#define IMPORTS_H
#pragma once
#ifndef _BRIDGEMAIN_H_
#include "bridge/bridgemain.h"
@ -16,5 +15,3 @@ class QString;
void DbgCmdExec(const QString & cmd);
bool DbgCmdExecDirect(const QString & cmd);
#endif // IMPORTS_H

View File

@ -1,5 +1,4 @@
#ifndef MEMORYPAGE_H
#define MEMORYPAGE_H
#pragma once
#include <QObject>
#include "Imports.h"
@ -22,5 +21,3 @@ private:
duint mBase;
duint mSize;
};
#endif // MEMORYPAGE_H

View File

@ -1,5 +1,4 @@
#ifndef ARRAYCOMMAND_H
#define ARRAYCOMMAND_H
#pragma once
#include <QUndoCommand>
#include <QByteArray>
@ -48,5 +47,3 @@ private:
QByteArray _newBa;
QByteArray _oldBa;
};
#endif // ARRAYCOMMAND_H

View File

@ -1,5 +1,4 @@
#ifndef QHEXEDIT_H
#define QHEXEDIT_H
#pragma once
#include <QScrollArea>
@ -60,6 +59,3 @@ signals:
private:
QHexEditPrivate* qHexEdit_p;
};
#endif

View File

@ -1,5 +1,4 @@
#ifndef QHEXEDITPRIVATE_H
#define QHEXEDITPRIVATE_H
#pragma once
#include <QWidget>
#include <QScrollArea>
@ -110,6 +109,3 @@ private:
int _initSize;
int _horizonalSpacing;
};
#endif //QHEXEDITPRIVATE_H

View File

@ -1,5 +1,4 @@
#ifndef XBYTEARRAY_H
#define XBYTEARRAY_H
#pragma once
#include <QByteArray>
@ -24,5 +23,3 @@ public:
private:
QByteArray _data; //raw byte array
};
#endif // XBYTEARRAY_H

View File

@ -1,5 +1,4 @@
#ifndef TRACEBROWSER_H
#define TRACEBROWSER_H
#pragma once
#include "AbstractTableView.h"
#include "VaHistory.h"
@ -187,5 +186,3 @@ public slots:
protected:
void disasm(unsigned long long index, bool history = true);
};
#endif //TRACEBROWSER_H

View File

@ -1,5 +1,4 @@
#ifndef TRACEFILEREADER_H
#define TRACEFILEREADER_H
#pragma once
#include "Bridge.h"
#include <QFile>
@ -76,5 +75,3 @@ private:
QBeaEngine* mDisasm;
};
#endif //TRACEFILEREADER_H

View File

@ -1,4 +1,5 @@
#pragma once
#include <QThread>
#include "TraceFileReader.h"
#include "QBeaEngine.h"

View File

@ -1,9 +1,8 @@
#ifndef TRACEFILESEARCH_H
#define TRACEFILESEARCH_H
#pragma once
#include "Bridge.h"
class TraceFileReader;
int TraceFileSearchConstantRange(TraceFileReader* file, duint start, duint end);
int TraceFileSearchMemReference(TraceFileReader* file, duint address);
unsigned long long TraceFileSearchFuncReturn(TraceFileReader* file, unsigned long long start);
#endif //TRACEFILESEARCH_H

View File

@ -1,5 +1,5 @@
#ifndef TRACEINFOBOX_H
#define TRACEINFOBOX_H
#pragma once
#include "StdTable.h"
class TraceWidget;
@ -24,5 +24,3 @@ private:
QAction* mCopyLineAction;
};
#endif //TRACEINFOBOX_H

View File

@ -1,5 +1,5 @@
#ifndef TRACEREGISTERS_H
#define TRACEREGISTERS_H
#pragma once
#include "RegistersView.h"
class TraceRegisters : public RegistersView
@ -21,5 +21,3 @@ protected:
private:
QAction* wCM_CopySIMDRegister;
};
#endif // TRACEREGISTERS_H

View File

@ -1,5 +1,4 @@
#ifndef TRACEWIDGET_H
#define TRACEWIDGET_H
#pragma once
#include <QWidget>
#include "Bridge.h"
@ -40,5 +39,3 @@ protected:
private:
Ui::TraceWidget* ui;
};
#endif // TRACEWIDGET_H

Some files were not shown because too many files have changed in this diff Show More