DolphinQt/Debugger: Replace AddressSpace.h inclusions with a forward declaration

This commit is contained in:
Lioncash 2019-07-15 23:20:26 -04:00
parent df0d4b6aea
commit 2b00eefbef
4 changed files with 8 additions and 3 deletions

View File

@ -15,6 +15,7 @@
#include <cmath>
#include "Core/Core.h"
#include "Core/HW/AddressSpace.h"
#include "Core/PowerPC/BreakPoints.h"
#include "Core/PowerPC/PowerPC.h"
#include "DolphinQt/Resources.h"

View File

@ -7,7 +7,11 @@
#include <QTableWidget>
#include "Common/CommonTypes.h"
#include "Core/HW/AddressSpace.h"
namespace AddressSpace
{
enum class Type;
}
class MemoryViewWidget : public QTableWidget
{
@ -59,7 +63,7 @@ private:
void OnCopyAddress();
void OnCopyHex();
AddressSpace::Type m_address_space = AddressSpace::Type::Effective;
AddressSpace::Type m_address_space{};
Type m_type = Type::U8;
BPType m_bp_type = BPType::ReadWrite;
bool m_do_log = true;

View File

@ -23,6 +23,7 @@
#include "Common/File.h"
#include "Common/FileUtil.h"
#include "Core/ConfigManager.h"
#include "Core/HW/AddressSpace.h"
#include "DolphinQt/Debugger/MemoryViewWidget.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/Settings.h"

View File

@ -9,7 +9,6 @@
#include <QDockWidget>
#include "Common/CommonTypes.h"
#include "Core/HW/AddressSpace.h"
class MemoryViewWidget;
class QCheckBox;