mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Common: Move 'GetSection' functions to be public
This commit is contained in:
parent
9d0983c9c9
commit
158674c274
@ -154,6 +154,8 @@ public:
|
|||||||
void SortSections();
|
void SortSections();
|
||||||
|
|
||||||
Section* GetOrCreateSection(std::string_view section_name);
|
Section* GetOrCreateSection(std::string_view section_name);
|
||||||
|
const Section* GetSection(std::string_view section_name) const;
|
||||||
|
Section* GetSection(std::string_view section_name);
|
||||||
|
|
||||||
// This function is related to parsing data from lines of INI files
|
// This function is related to parsing data from lines of INI files
|
||||||
// It's used outside of IniFile, which is why it is exposed publicly
|
// It's used outside of IniFile, which is why it is exposed publicly
|
||||||
@ -165,8 +167,5 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::list<Section> sections;
|
std::list<Section> sections;
|
||||||
|
|
||||||
const Section* GetSection(std::string_view section_name) const;
|
|
||||||
Section* GetSection(std::string_view section_name);
|
|
||||||
|
|
||||||
static const std::string& NULL_STRING;
|
static const std::string& NULL_STRING;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user