MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / updateCapabilities

Method updateCapabilities

launcher/Application.cpp:1706–1721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1704}
1705
1706void Application::updateCapabilities()
1707{
1708 m_capabilities = None;
1709 if (!getMSAClientID().isEmpty())
1710 m_capabilities |= SupportsMSA;
1711 if (!getFlameAPIKey().isEmpty())
1712 m_capabilities |= SupportsFlame;
1713
1714#ifdef Q_OS_LINUX
1715 if (gamemode_query_status() >= 0)
1716 m_capabilities |= SupportsGameMode;
1717
1718 if (!MangoHud::getLibraryString().isEmpty())
1719 m_capabilities |= SupportsMangoHud;
1720#endif
1721}
1722
1723void Application::detectLibraries()
1724{

Callers

nothing calls this directly

Calls 3

gamemode_query_statusFunction · 0.85
getLibraryStringFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected