Merge pull request #6845 from lioncash/patch-dlg
NewPatchDialog/PatchesWidget: Use forward declarations where applicable
This commit is contained in:
commit
1fe92b8be7
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -11,9 +11,14 @@
|
||||||
#include "Common/FileUtil.h"
|
#include "Common/FileUtil.h"
|
||||||
#include "Common/IniFile.h"
|
#include "Common/IniFile.h"
|
||||||
#include "Common/StringUtil.h"
|
#include "Common/StringUtil.h"
|
||||||
|
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
|
#include "Core/PatchEngine.h"
|
||||||
|
|
||||||
#include "DolphinQt2/Config/NewPatchDialog.h"
|
#include "DolphinQt2/Config/NewPatchDialog.h"
|
||||||
|
|
||||||
|
#include "UICommon/GameFile.h"
|
||||||
|
|
||||||
PatchesWidget::PatchesWidget(const UICommon::GameFile& game)
|
PatchesWidget::PatchesWidget(const UICommon::GameFile& game)
|
||||||
: m_game(game), m_game_id(game.GetGameID()), m_game_revision(game.GetRevision())
|
: m_game(game), m_game_id(game.GetGameID()), m_game_revision(game.GetRevision())
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,13 +9,22 @@
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "Core/PatchEngine.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "UICommon/GameFile.h"
|
|
||||||
|
namespace PatchEngine
|
||||||
|
{
|
||||||
|
struct Patch;
|
||||||
|
}
|
||||||
|
|
||||||
class QListWidget;
|
class QListWidget;
|
||||||
class QListWidgetItem;
|
class QListWidgetItem;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
|
|
||||||
|
namespace UICommon
|
||||||
|
{
|
||||||
|
class GameFile;
|
||||||
|
}
|
||||||
|
|
||||||
class PatchesWidget : public QWidget
|
class PatchesWidget : public QWidget
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue