diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-08-20 13:35:59 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:10 +0300 |
commit | e00411fd42c356e9e988dc99efc10b3ebcb4bd15 (patch) | |
tree | 3241da30fa57a0e4cbb45b2daf730f91240f2a10 /map/information_display.hpp | |
parent | 47b22d39644ca641b6348eb988a12615f1b51ef8 (diff) |
refactored location::State to make it gui::Element.
Diffstat (limited to 'map/information_display.hpp')
-rw-r--r-- | map/information_display.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/map/information_display.hpp b/map/information_display.hpp index af6a78b213..d49888b9b0 100644 --- a/map/information_display.hpp +++ b/map/information_display.hpp @@ -22,11 +22,7 @@ namespace gui class Controller; } -namespace storage -{ - class Storage; -} - +class Framework; class CountryStatusDisplay; /// Class, which displays additional information on the primary layer. @@ -84,10 +80,11 @@ private: static WindowHandle * s_windowHandle; */ shared_ptr<CountryStatusDisplay> m_countryStatusDisplay; + shared_ptr<location::State> m_locationState; public: - InformationDisplay(storage::Storage * storage); + InformationDisplay(Framework * framework); void setController(gui::Controller * controller); @@ -129,6 +126,8 @@ public: void setLogSize(size_t logSize); void drawLog(DrawerYG * pDrawer); + shared_ptr<location::State> const & locationState() const; + void enableCountryStatusDisplay(bool doEnable); void setDownloadListener(gui::Button::TOnClickListener l); void setEmptyCountryName(string const & country); |