| 121 | } |
| 122 | |
| 123 | std::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 | |
| 135 | FileData* FolderData::getFile(unsigned int i) const |
| 136 | { |