InfinityBaseWindow: Move core headers into cpp file

Restricts the headers to the cpp file where they're needed and prevents
the headers from "leaking" into other translation units.
This commit is contained in:
Lioncash 2023-06-08 11:05:24 -04:00
parent d092381d25
commit fae5ca39ad
2 changed files with 11 additions and 4 deletions

View File

@ -3,6 +3,8 @@
#include "DolphinQt/InfinityBase/InfinityBaseWindow.h" #include "DolphinQt/InfinityBase/InfinityBaseWindow.h"
#include <string>
#include <QCheckBox> #include <QCheckBox>
#include <QComboBox> #include <QComboBox>
#include <QCompleter> #include <QCompleter>
@ -19,6 +21,8 @@
#include "Common/IOFile.h" #include "Common/IOFile.h"
#include "Core/Config/MainSettings.h" #include "Core/Config/MainSettings.h"
#include "Core/Core.h"
#include "Core/IOS/USB/Emulated/Infinity.h"
#include "Core/System.h" #include "Core/System.h"
#include "DolphinQt/QtUtils/DolphinFileDialog.h" #include "DolphinQt/QtUtils/DolphinFileDialog.h"

View File

@ -4,18 +4,21 @@
#pragma once #pragma once
#include <array> #include <array>
#include <string>
#include <QDialog> #include <QDialog>
#include <QVBoxLayout>
#include <QWidget> #include <QWidget>
#include "Core/Core.h" #include "Common/CommonTypes.h"
#include "Core/IOS/USB/Emulated/Infinity.h"
class QCheckBox; class QCheckBox;
class QGroupBox; class QGroupBox;
class QLineEdit; class QLineEdit;
class QVBoxLayout;
namespace Core
{
enum class State;
}
class InfinityBaseWindow : public QWidget class InfinityBaseWindow : public QWidget
{ {