MCPcopy Create free account
hub / github.com/KDAB/KDDockWidgets / createDefaultViewFactory

Function createDefaultViewFactory

src/Config.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace KDDockWidgets {
37
38static ViewFactory *createDefaultViewFactory()
39{
40 if (auto platform = Platform::instance())
41 return platform->createDefaultViewFactory();
42
43 KDDW_ERROR("No Platform found. Forgot to call KDDockWidgets::initFrontend(<platform>) ?");
44 std::terminate();
45 return nullptr;
46}
47
48class Config::Private
49{

Callers 1

PrivateMethod · 0.85

Calls 2

instanceFunction · 0.85

Tested by

no test coverage detected