MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / instance

Method instance

tools/screenshotmanager.cpp:227–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225ScreenshotManager *ScreenshotManager::mInstance = nullptr;
226
227ScreenshotManager *ScreenshotManager::instance()
228{
229 if (!mInstance) {
230 mInstance = new ScreenshotManager();
231 }
232
233 return mInstance;
234}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected