| 324 | } |
| 325 | |
| 326 | std::unique_ptr<ModelReader> GetCountryReader(LocalCountryFile const & file, MapFileType type) |
| 327 | { |
| 328 | Platform & platform = GetPlatform(); |
| 329 | if (file.IsInBundle()) |
| 330 | return platform.GetReader(file.GetFileName(type), GetAdditionalWorldScope()); |
| 331 | else |
| 332 | return platform.GetReader(file.GetPath(type), "f"); |
| 333 | } |
| 334 | |
| 335 | // static |
| 336 | void CountryIndexes::PreparePlaceOnDisk(LocalCountryFile const & localFile) |