| 68 | } |
| 69 | |
| 70 | bool ServerListCache::isRecent(const std::string& serverAddress) const { |
| 71 | SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress); |
| 72 | return i != serverCache.end() && i->second.recent; |
| 73 | } |
| 74 | |
| 75 | std::string ServerListCache::getCacheFilename() const { |
| 76 | // get a file named e.g. BZFS1910Server.bzs in the cache dir |