| 14 | { |
| 15 | |
| 16 | IMapResourcePtr MapResourceManager::createFromPath(const std::string& path) |
| 17 | { |
| 18 | if (vcs::pathIsVcsUri(path)) |
| 19 | { |
| 20 | return std::make_shared<VcsMapResource>(path); |
| 21 | } |
| 22 | |
| 23 | return std::make_shared<MapResource>(path); |
| 24 | } |
| 25 | |
| 26 | IMapResourcePtr MapResourceManager::createFromArchiveFile(const std::string& archivePath, |
| 27 | const std::string& filePathWithinArchive) |
no test coverage detected