MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / OrganizerProxy

Method OrganizerProxy

src/organizerproxy.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using namespace MOShared;
20
21OrganizerProxy::OrganizerProxy(OrganizerCore* organizer,
22 PluginContainer* pluginContainer,
23 MOBase::IPlugin* plugin)
24 : m_Proxied(organizer), m_PluginContainer(pluginContainer), m_Plugin(plugin),
25 m_DownloadManagerProxy(
26 std::make_unique<DownloadManagerProxy>(this, organizer->downloadManager())),
27 m_ModListProxy(std::make_unique<ModListProxy>(this, organizer->modList())),
28 m_PluginListProxy(
29 std::make_unique<PluginListProxy>(this, organizer->pluginList())),
30 m_GameFeaturesProxy(
31 std::make_unique<GameFeaturesProxy>(this, pluginContainer->gameFeatures()))
32{}
33
34OrganizerProxy::~OrganizerProxy()
35{

Callers

nothing calls this directly

Calls 4

gameFeaturesMethod · 0.80
downloadManagerMethod · 0.45
modListMethod · 0.45
pluginListMethod · 0.45

Tested by

no test coverage detected