| 124 | }; |
| 125 | |
| 126 | class CCommunityServer |
| 127 | { |
| 128 | char m_aCommunityId[CServerInfo::MAX_COMMUNITY_ID_LENGTH]; |
| 129 | char m_aCountryName[CServerInfo::MAX_COMMUNITY_COUNTRY_LENGTH]; |
| 130 | char m_aTypeName[CServerInfo::MAX_COMMUNITY_TYPE_LENGTH]; |
| 131 | |
| 132 | public: |
| 133 | CCommunityServer(const char *pCommunityId, const char *pCountryName, const char *pTypeName) |
| 134 | { |
| 135 | str_copy(m_aCommunityId, pCommunityId); |
| 136 | str_copy(m_aCountryName, pCountryName); |
| 137 | str_copy(m_aTypeName, pTypeName); |
| 138 | } |
| 139 | |
| 140 | const char *CommunityId() const { return m_aCommunityId; } |
| 141 | const char *CountryName() const { return m_aCountryName; } |
| 142 | const char *TypeName() const { return m_aTypeName; } |
| 143 | }; |
| 144 | |
| 145 | class CFavoriteCommunityFilterList : public IFilterList |
| 146 | { |