mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -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:
@ -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)
|
||||
|
@ -86,6 +86,9 @@ public:
|
||||
std::vector<std::string> m_lines;
|
||||
};
|
||||
|
||||
IniFile();
|
||||
~IniFile();
|
||||
|
||||
/**
|
||||
* Loads sections and keys.
|
||||
* @param filename filename of the ini file which should be loaded
|
||||
|
Reference in New Issue
Block a user