diff options
author | Yuri Gorshenin <y@maps.me> | 2015-05-28 16:22:04 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:51:37 +0300 |
commit | c53d7f1494773d1c5b499e858caa7fab436ac5fa (patch) | |
tree | 19e9e3f0192baae136f0a0fbadb18ef20d2ef22f /platform/local_country_file_utils.hpp | |
parent | a87c98a15974803e9005541c94cc4ce1f39472a5 (diff) |
[platform] Implementation for CountryFile and LocalCountryFile abstractions.
Diffstat (limited to 'platform/local_country_file_utils.hpp')
-rw-r--r-- | platform/local_country_file_utils.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/local_country_file_utils.hpp b/platform/local_country_file_utils.hpp new file mode 100644 index 0000000000..74b7775375 --- /dev/null +++ b/platform/local_country_file_utils.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "platform/local_country_file.hpp" + +#include "std/utility.hpp" +#include "std/vector.hpp" + +namespace local_country_file_utils +{ +void FindAllLocalMapsInDirectory(string const & directory, int64_t version, + vector<LocalCountryFile> & localFiles); +void FindAllLocalMaps(vector<LocalCountryFile> & localFiles); + +bool ParseVersion(string const & s, int64_t & version); +} // namespace local_country_file_utils |