| 160 | } // namespace |
| 161 | |
| 162 | pair<MwmSet::MwmId, MwmSet::RegResult> Framework::RegisterMap(LocalCountryFile const & file) |
| 163 | { |
| 164 | auto res = m_featuresFetcher.RegisterMap(file); |
| 165 | if (res.second == MwmSet::RegResult::Success) |
| 166 | { |
| 167 | auto const & id = res.first; |
| 168 | ASSERT(id.IsAlive(), ()); |
| 169 | LOG(LINFO, ("Loaded", file.GetCountryName(), "map, of version", id.GetInfo()->GetVersion())); |
| 170 | } |
| 171 | |
| 172 | return res; |
| 173 | } |
| 174 | |
| 175 | void Framework::OnLocationError(TLocationError /*error*/) |
| 176 | { |