diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-02-01 18:09:26 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:21:28 +0300 |
commit | dea6c2e2dea0324f800de4e6605de403d097b4a9 (patch) | |
tree | a7feec303ae63b698a13db678cc7a784e82a8019 /storage/index.hpp | |
parent | e4bbd37deb295513598dc8cb36b728362681cc0f (diff) |
[new downloader] Interface of new map downloader.
Diffstat (limited to 'storage/index.hpp')
-rw-r--r-- | storage/index.hpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/storage/index.hpp b/storage/index.hpp index 2e1bc17577..0d8bf0cb66 100644 --- a/storage/index.hpp +++ b/storage/index.hpp @@ -1,9 +1,19 @@ #pragma once +#include "std/set.hpp" #include "std/string.hpp" - +#include "std/vector.hpp" namespace storage { + using TCountryId = string; + using TCountriesSet = set<TCountryId>; + using TCountriesVec = vector<TCountryId>; + + extern const storage::TCountryId kInvalidCountryId; + + // @TODO(bykoianko) Check in counrtry tree if the countryId valid. + bool IsCountryIdValid(TCountryId const & countryId); + struct TIndex { static int const INVALID; @@ -40,4 +50,4 @@ namespace storage }; string DebugPrint(TIndex const & r); -} +} // namespace storage |