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 fae5ca3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 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
11 changes: 7 additions & 4 deletions Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.h
Expand Up @@ -4,18 +4,21 @@
#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;
class QVBoxLayout;

namespace Core
{
enum class State;
}

class InfinityBaseWindow : public QWidget
{
Expand Down

0 comments on commit fae5ca3

Please sign in to comment.