| 187 | } |
| 188 | |
| 189 | std::unique_ptr<MwmValue> DataSource::CreateValue(MwmInfo & info) const |
| 190 | { |
| 191 | platform::LocalCountryFile const & localFile = info.GetLocalFile(); |
| 192 | auto p = std::make_unique<MwmValue>(localFile); |
| 193 | |
| 194 | p->SetTable(dynamic_cast<MwmInfoEx &>(info)); |
| 195 | |
| 196 | p->m_metaDeserializer = indexer::MetadataDeserializer::Load(p->m_cont); |
| 197 | CHECK(p->m_metaDeserializer, ()); |
| 198 | return p; |
| 199 | } |
| 200 | |
| 201 | std::pair<MwmSet::MwmId, MwmSet::RegResult> DataSource::RegisterMap(LocalCountryFile const & localFile) |
| 202 | { |
nothing calls this directly
no test coverage detected