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:
Lioncash 2019-06-07 18:25:32 -04:00
parent e73a3ba1c6
commit c0c0e412e0
16 changed files with 36 additions and 11 deletions
Source/Core/Common

View file

@ -121,6 +121,10 @@ bool IniFile::Section::GetLines(std::vector<std::string>* lines, const bool remo
// IniFile
IniFile::IniFile() = default;
IniFile::~IniFile() = default;
const IniFile::Section* IniFile::GetSection(const std::string& sectionName) const
{
for (const Section& sect : sections)