diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-11-19 16:40:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:33:14 +0300 |
commit | aee5873c0bf09adb83167d472dbcc12629ce8305 (patch) | |
tree | 89b89568fbfc427234a5a5e3f1f57e83416ae57b /map/country_status_display.hpp | |
parent | c515931eea3b293136782520a3ac2df077e76c73 (diff) |
[ios, android] over 50MB message when start downloading from map view
Diffstat (limited to 'map/country_status_display.hpp')
-rw-r--r-- | map/country_status_display.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/map/country_status_display.hpp b/map/country_status_display.hpp index 1cda04bea7..014bab156e 100644 --- a/map/country_status_display.hpp +++ b/map/country_status_display.hpp @@ -41,9 +41,8 @@ public: /// set current country name void SetCountryIndex(storage::TIndex const & idx); - typedef function<void (int)> TDownloadCountryFn; + typedef function<void (storage::TIndex const & idx, int)> TDownloadCountryFn; void SetDownloadCountryListener(TDownloadCountryFn const & fn) { m_downloadCallback = fn; } - void DownloadCurrentCountry(int options); /// @name Override from graphics::OverlayElement and gui::Element. //@{ @@ -91,9 +90,7 @@ private: typedef function<bool (unique_ptr<gui::Button> const &, m2::PointD const &)> TTapActionFn; bool OnTapAction(TTapActionFn const & action, m2::PointD const & pt); - - void OnButtonClicked(const Element * button); - void DownloadCountry(int options, bool checkCallback = true); + void OnButtonClicked(Element const * button); void Repaint() const; |