NewPatchDialog: Convert PatchEngine include into a forward declaration

Avoids needing to include Core headers in UI-related header files,
preventing unintentional propagation.
This commit is contained in:
Lioncash 2018-05-13 15:34:38 -04:00
parent e67cbd462b
commit df3f9af6d7
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@
#include <QScrollArea> #include <QScrollArea>
#include <QVBoxLayout> #include <QVBoxLayout>
#include "Core/PatchEngine.h"
NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch) NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch)
: QDialog(parent), m_patch(patch) : QDialog(parent), m_patch(patch)
{ {

View File

@ -9,7 +9,10 @@
#include <QDialog> #include <QDialog>
#include <QWidget> #include <QWidget>
#include "Core/PatchEngine.h" namespace PatchEngine
{
struct Patch;
}
class QDialogButtonBox; class QDialogButtonBox;
class QGroupBox; class QGroupBox;