| 114 | } // namespace |
| 115 | |
| 116 | Screenshoter::Screenshoter(ScreenshotParams const & screenshotParams, Framework & framework, QOpenGLWidget * widget) |
| 117 | : m_screenshotParams(screenshotParams) |
| 118 | , m_framework(framework) |
| 119 | , m_widget(widget) |
| 120 | { |
| 121 | m_framework.GetStorage().Subscribe(std::bind(&Screenshoter::OnCountryChanged, this, std::placeholders::_1), |
| 122 | [](storage::CountryId const &, downloader::Progress const &) {}); |
| 123 | } |
| 124 | |
| 125 | void Screenshoter::Start() |
| 126 | { |