mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Core/ConfigManager: Use forward declarations where applicable
Avoids dragging in IniFile, EXI device and SI device headers in this header which is quite widely used throughout the codebase. This also uncovered a few cases where indirect inclusions were being relied upon, which this also fixes.
This commit is contained in:
@ -11,9 +11,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/IniFile.h"
|
||||
#include "Core/HW/EXI/EXI_Device.h"
|
||||
#include "Core/HW/SI/SI_Device.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
class IniFile;
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
@ -24,19 +24,26 @@ struct Partition;
|
||||
class Volume;
|
||||
} // namespace DiscIO
|
||||
|
||||
namespace IOS
|
||||
namespace ExpansionInterface
|
||||
{
|
||||
namespace ES
|
||||
enum TEXIDevices : int;
|
||||
} // namespace ExpansionInterface
|
||||
|
||||
namespace IOS::ES
|
||||
{
|
||||
class TMDReader;
|
||||
}
|
||||
} // namespace IOS
|
||||
} // namespace IOS::ES
|
||||
|
||||
namespace PowerPC
|
||||
{
|
||||
enum class CPUCore;
|
||||
} // namespace PowerPC
|
||||
|
||||
namespace SerialInterface
|
||||
{
|
||||
enum SIDevices : int;
|
||||
} // namespace SerialInterface
|
||||
|
||||
struct BootParameters;
|
||||
|
||||
// DSP Backend Types
|
||||
|
Reference in New Issue
Block a user