MCPcopy Create free account
hub / github.com/comaps/comaps / Screenshoter

Method Screenshoter

qt/screenshoter.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114} // namespace
115
116Screenshoter::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
125void Screenshoter::Start()
126{

Callers

nothing calls this directly

Calls 1

SubscribeMethod · 0.45

Tested by

no test coverage detected