diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-10-13 11:45:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:30:21 +0300 |
commit | 67b4b0651e1445852a53b2961cb13da0a3e0e1e6 (patch) | |
tree | 6ea44be5005544764f415ffd8b89d2e6907d90ec /map/country_tree.cpp | |
parent | 4307c13006b66eb5a230fb1a2261fbfa25eb9eea (diff) |
[core] downloader API
Diffstat (limited to 'map/country_tree.cpp')
-rw-r--r-- | map/country_tree.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/map/country_tree.cpp b/map/country_tree.cpp index 1a0bf03f3c..61fea8279d 100644 --- a/map/country_tree.cpp +++ b/map/country_tree.cpp @@ -182,6 +182,12 @@ void CountryTree::DeleteCountry(int childPosition, TMapOptions const & options) GetActiveMapLayout().DeleteMap(GetChild(childPosition), options); } +void CountryTree::RetryDownloading(int childPosition) +{ + ASSERT(IsLeaf(childPosition), ()); + GetActiveMapLayout().RetryDownloading(GetChild(childPosition)); +} + void CountryTree::CancelDownloading(int childPosition) { GetStorage().DeleteFromDownloader(GetChild(childPosition)); |