Skip to content

Commit

Permalink
InfinityBaseWindow: Move core headers into cpp file
Browse files Browse the repository at this point in the history
Restricts the headers to the cpp file where they're needed and prevents
the headers from "leaking" into other translation units.
  • Loading branch information
lioncash committed Jun 8, 2023
1 parent d092381 commit 0055ee4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp
Expand Up @@ -3,6 +3,8 @@

#include "DolphinQt/InfinityBase/InfinityBaseWindow.h"

#include <string>

#include <QCheckBox>
#include <QComboBox>
#include <QCompleter>
Expand All @@ -19,6 +21,8 @@
#include "Common/IOFile.h"

#include "Core/Config/MainSettings.h"
#include "Core/Core.h"
#include "Core/IOS/USB/Emulated/Infinity.h"
#include "Core/System.h"

#include "DolphinQt/QtUtils/DolphinFileDialog.h"
Expand Down
9 changes: 6 additions & 3 deletions Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.h
Expand Up @@ -4,19 +4,22 @@
#pragma once

#include <array>
#include <string>

#include <QDialog>
#include <QVBoxLayout>
#include <QWidget>

#include "Core/Core.h"
#include "Core/IOS/USB/Emulated/Infinity.h"
#include "Common/CommonTypes.h"

class QCheckBox;
class QGroupBox;
class QLineEdit;

namespace Core
{
enum class State;
}

class InfinityBaseWindow : public QWidget
{
Q_OBJECT
Expand Down

0 comments on commit 0055ee4

Please sign in to comment.