MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / getSortStateName

Method getSortStateName

src/FolderData.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123std::string FolderData::getSortStateName(ComparisonFunction & comparisonFunction, bool ascending)
124{
125 std::string temp = sortStateNameMap[comparisonFunction];
126 if (ascending) {
127 temp.append(" (ascending)");
128 }
129 else {
130 temp.append(" (descending)");
131 }
132 return temp;
133}
134
135FileData* FolderData::getFile(unsigned int i) const
136{

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected