diff --git a/GUI/extenwindow.h b/GUI/extenwindow.h index aa99ebf..4876c1e 100644 --- a/GUI/extenwindow.h +++ b/GUI/extenwindow.h @@ -1,5 +1,4 @@ -#ifndef EXTENSIONS_H -#define EXTENSIONS_H +#pragma once #include "qtcommon.h" #include @@ -35,5 +34,3 @@ private: Ui::ExtenWindow* ui; QListWidget* extenList; }; - -#endif // EXTENSIONS_H diff --git a/GUI/mainwindow.h b/GUI/mainwindow.h index 1d94bc3..da9a7bb 100644 --- a/GUI/mainwindow.h +++ b/GUI/mainwindow.h @@ -1,5 +1,4 @@ -#ifndef MAINWINDOW_H -#define MAINWINDOW_H +#pragma once #include "qtcommon.h" #include "host/host.h" @@ -50,5 +49,3 @@ private: QPlainTextEdit* textOutput; QWidget* extenWindow; }; - -#endif // MAINWINDOW_H diff --git a/GUI/misc.h b/GUI/misc.h index 4120a3e..7ba0b1a 100644 --- a/GUI/misc.h +++ b/GUI/misc.h @@ -1,5 +1,4 @@ -#ifndef MISC_H -#define MISC_H +#pragma once #include "qtcommon.h" #include "types.h" @@ -16,5 +15,3 @@ private: QMultiHash GetAllProcesses(); std::optional ParseCode(QString HCode); QString GenerateCode(HookParam hp, DWORD processId); - -#endif // MISC_H diff --git a/GUI/setdialog.h b/GUI/setdialog.h index ae7937c..4f9ecb7 100644 --- a/GUI/setdialog.h +++ b/GUI/setdialog.h @@ -1,5 +1,4 @@ -#ifndef SETDIALOG_H -#define SETDIALOG_H +#pragma once #include "qtcommon.h" #include @@ -26,5 +25,3 @@ private: QSpinBox* maxBufferSize; QSpinBox* defaultCodepage; }; - -#endif // SETDIALOG_H