| 1967 | } |
| 1968 | |
| 1969 | void CFavoriteCommunityFilterList::Save(IConfigManager *pConfigManager) const |
| 1970 | { |
| 1971 | char aBuf[32 + CServerInfo::MAX_COMMUNITY_ID_LENGTH]; |
| 1972 | for(const auto &FavoriteCommunity : m_vEntries) |
| 1973 | { |
| 1974 | str_copy(aBuf, "add_favorite_community \""); |
| 1975 | str_append(aBuf, FavoriteCommunity.Id()); |
| 1976 | str_append(aBuf, "\""); |
| 1977 | pConfigManager->WriteLine(aBuf); |
| 1978 | } |
| 1979 | } |
| 1980 | |
| 1981 | const std::vector<CCommunityId> &CFavoriteCommunityFilterList::Entries() const |
| 1982 | { |
no test coverage detected