| 213 | } |
| 214 | |
| 215 | std::string ToString(BookmarkManager::SortingType type) |
| 216 | { |
| 217 | switch (type) |
| 218 | { |
| 219 | case BookmarkManager::SortingType::ByTime: return "ByTime"; |
| 220 | case BookmarkManager::SortingType::ByType: return "ByType"; |
| 221 | case BookmarkManager::SortingType::ByDistance: return "ByDistance"; |
| 222 | case BookmarkManager::SortingType::ByName: return "ByName"; |
| 223 | } |
| 224 | UNREACHABLE(); |
| 225 | } |
| 226 | |
| 227 | bool GetSortingType(std::string const & typeStr, BookmarkManager::SortingType & type) |
| 228 | { |
no outgoing calls
no test coverage detected